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.ToolFailedErrorA 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 9891–10169
Fields
Implementations
ai.errors.Failure for ai.errors.ToolFailedError
Instance methods
Source:<builtin>/ai/ns_errors/errors.bamlbytes 10047–10167