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
Signature
def tool(mut self, tool: impl Tool + 'static) -> SelfParameters
ParamField
impl Tool + 'staticNo description available.
Returns
ResponseField
SelfThe result of the operation.