Expand description
ToolHandler trait and associated types for MCP tool dispatch.
Every tool in cortex-mcp must implement ToolHandler and declare a
non-empty gate_set. The ToolRegistry asserts
gate wiring at registration time (DA-3): a missing gate is a fatal startup
error, not a per-call error.
Enums§
- GateId
- Logical gate IDs that a tool activates when called.
- Tool
Error - Errors returned from
ToolHandler::call.
Traits§
- Tool
Handler - A single MCP tool that can be dispatched by the
ToolRegistry.