Expand description
JSON-RPC 2.0 + MCP protocol types.
Mirrors aprender-orchestrate::mcp::types so downstream tools can depend on
aprender-mcp without pulling the entire batuta dependency tree.
Structs§
- Content
Block - One content block in a tool result.
- Input
Schema - JSON Schema for a tool’s input.
- Json
RpcError - JSON-RPC 2.0 error object.
- Json
RpcNotification - JSON-RPC 2.0 notification envelope — server → client, no
idfield. - Json
RpcRequest - JSON-RPC 2.0 request envelope.
- Json
RpcResponse - JSON-RPC 2.0 response envelope.
- Property
Schema - JSON Schema for one input property.
- Server
Capabilities initializeresponse capabilities block.- Tool
Call Result - Result returned by
tools/call. - Tool
Definition - MCP tool registration record.
- Tools
Capability - Tools capability flags.