Tool Error • Rust AI Agent SDK

tool_error: Create tool error event

tool_error

Method

</div>

This is a method of the Event class in the bus module.

Create tool error event

Diagram

uses

returns

Agent

Tool: tool_error

Result

Signature

python
def tool_error(tool_name: impl Into<String>, error: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation