Register Tool • Rust AI Agent SDK
register_tool: Register a tool
register_tool
Method
</div>
Register a tool
Signature
def register_tool(&mut self, tool: MCPTool) -> ()Parameters
ParamField
MCPToolNo description available.
Returns
ResponseField
()The result of the operation.