Module jsonrpc

Source

Structs§

ErrorData
Error information for JSON-RPC error responses.
MethodCall
An RPC method call (known in the JSON-RPC spec as a “request”).
Notification

Enums§

ErrorCode
JsonRpcVersion
Protocol version
Params
Structured parameters which may be included in a request or notification.
Request
A single JSON-RPC request, which is sent over the transport, and may contain multiple messages (per JSON-RPC’s batch specification).
RequestId
Message ID, which according to the MCP spec must be either a number or a string.
Response
A single JSON-RPC response, which is sent over the transport.
ResponseItem
SendableMessage
A single JSON-RPC message.