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)

Diagram

uses

returns

Agent

Tool: tool

Result

Signature

python
def tool(mut self, tool: MCPTool) -> Self

Parameters

ParamField MCPTool

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation