ai.errors.ToolFailedError

A tool failed and the run was configured to raise. Thrown after the ToolFailed event is on the record, and a tool is arbitrary user code that may have committed effects before it failed — so this is never blind- replayable, whatever the underlying `cause` reports.

Reference version

Signature

class ai.errors.ToolFailedError

A tool failed and the run was configured to raise. Thrown after the ToolFailed event is on the record, and a tool is arbitrary user code that may have committed effects before it failed — so this is never blind- replayable, whatever the underlying cause reports.

Source:<builtin>/ai/ns_errors/errors.bamlbytes 87769054

Fields

id

string

name

string

message

string

Implementations