Skip to main content

register_tool

Method
This is a method of the MCPServer class in the mcp module.
Register a tool

Signature

def register_tool(&mut self, tool: MCPTool) -> ()

Parameters

tool
MCPTool
required
No description available.

Returns

Returns
()
The result of the operation.