Skip to main content

Module jsonrpc

Module jsonrpc 

Source
Expand description

JSON-RPC 2.0 wire-format types.

Protocol-agnostic JSON-RPC envelope types used by MCP and potentially other JSON-RPC-based transports.

Structs§

Error
A JSON-RPC error object.
Request
A JSON-RPC 2.0 request.
Response
A JSON-RPC 2.0 response.

Enums§

Body
The result or error payload of a JSON-RPC response.
Version
JSON-RPC protocol version. Always "2.0".