Expand description
JSON-RPC 2.0 and MCP protocol types.
Structs§
- Client
Info - Client identification.
- Initialize
Params - MCP initialize request params.
- Json
RpcError - A JSON-RPC 2.0 error object.
- Json
RpcRequest - A JSON-RPC 2.0 request or notification.
- Json
RpcResponse - A JSON-RPC 2.0 response.
- Resource
Content - MCP resource content.
- Resource
Definition - MCP resource definition.
- Server
Info - MCP server info returned in initialize response.
- Tool
Content - MCP tool call result content.
- Tool
Definition - MCP tool definition.