tool • Rust AI Agent SDK

tool: Add a tool

tool

Method

</div>

This is a method of the AgentBuilder class in the builder module.

Add a tool

Diagram

uses

returns

Agent

Tool: tool

Result

Signature

python
def tool(mut self, tool: impl Tool + 'static) -> Self

Parameters

ParamField impl Tool + 'static

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation