tool • Rust AI Agent SDK

tool: Create a tool error

tool

Method

</div>

This is a method of the Error class in the error module.

Create a tool error

Diagram

uses

returns

Agent

Tool: tool

Result

Signature

python
def tool(msg: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation