Expand description
Tool adapter - exposes MCP tools through the Tool trait.
Structs§
- McpTool
Adapter - Adapter that wraps an MCP tool and implements the Tool trait.
Functions§
- register_
mcp_ tools - Register all MCP tools from a registry into a ToolRegistry (sync version). Use this at startup when you have mutable access to the registry.
- register_
mcp_ tools_ async - Register all MCP tools from a registry into a ToolRegistry (async version). Use this when registering tools dynamically after startup.