JsonRpcRequest
A JSON-RPC 2.0 request, relayed to the core service unchanged. The available methods
and tool arguments are defined there, so they are not enumerated in this specification —
call initialize and then tools/list to discover them.
jsonrpcstringrequired
Always 2.0.
Example:
2.0id
Request identifier, echoed on the response. A string or a number; absent on notifications.
Example:
1methodstringrequired
The JSON-RPC method, e.g. initialize, tools/list, tools/call.
Example:
tools/listparams object
Method parameters. Shape depends on the method; passed through untouched.
property name*any
Method parameters. Shape depends on the method; passed through untouched.
JsonRpcRequest
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}