tool • Rust AI Agent SDK
tool: Add a tool (for testing)
tool
Method
</div>
This is a method of the MCPBuilder class in the mcp module.
Add a tool (for testing)
Signature
def tool(mut self, tool: MCPTool) -> SelfParameters
ParamField
MCPToolNo description available.
Returns
ResponseField
SelfThe result of the operation.