Standard JSON-RPC 2.0 protocol parameters for the MCP endpoint
jsonrpc
string
"2.0"
id
integer
1
, 2
, 3
, etc.method
string
"tools/call"
"tools/call"
.params
object
jsonrpc
and method
parameters have fixed values that never change.
id
parameter is crucial for tracking requests. You should increment it for each new request to distinguish between different calls.
params
object is where the actual tool configuration goes. This is covered in Part 2: Tool-Specific Parameters.