tool • Rust AI Agent SDK

tool: Set tool name.

tool

Method

</div>

This is a method of the ContextEvent class in the trace module.

Set tool name.

Diagram

uses

returns

Agent

Tool: tool

Result

Signature

python
def tool(mut self, name: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation