Skip to main content

Module types

Module types 

Source
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§

ContentBlock
One content block in a tool result.
InputSchema
JSON Schema for a tool’s input.
JsonRpcError
JSON-RPC 2.0 error object.
JsonRpcNotification
JSON-RPC 2.0 notification envelope — server → client, no id field.
JsonRpcRequest
JSON-RPC 2.0 request envelope.
JsonRpcResponse
JSON-RPC 2.0 response envelope.
PropertySchema
JSON Schema for one input property.
ServerCapabilities
initialize response capabilities block.
ToolCallResult
Result returned by tools/call.
ToolDefinition
MCP tool registration record.
ToolsCapability
Tools capability flags.