McpJsonRpcMessage
A request or response body; the type column links to the schemas it refers to.
McpJsonRpcMessage
| Field | Type | Required | Description |
|---|---|---|---|
| jsonrpc | string | yes | one of "2.0" |
| id | any | no | The request id; absent on a notification. |
| method | string | no | The MCP method: `initialize`, `tools/list`, `tools/call`, … |
| params | object | no | — |
jsonExample
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}