Skip to main content

create_mcp_tool

Function create_mcp_tool 

Source
pub fn create_mcp_tool<T: McpTool>(tool: T) -> Option<Ref<CoreMcpTool>>
Expand description

Creates a tool without registering it. This can be used to expose a tool that is specific to one MCP server, such as one that manages that server’s active binary view. Otherwise the same as register_mcp_tool.