Skip to main content

register_mcp_tools

Function register_mcp_tools 

Source
pub fn register_mcp_tools(
    registry: &mut ToolRegistry,
    mcp_registry: Arc<McpRegistry>,
    tools: Vec<McpToolInfo>,
)
Expand description

Register all MCP tools from a registry into a ToolRegistry (sync version). Use this at startup when you have mutable access to the registry.