Ask a question to get started
Enter to send•Shift+Enter new line
Run when tool errors.
on_tool_error( self, error: BaseException, *, run_id: UUID, parent_run_id: UUID | None = None, tags: list[str] | None = None, **kwargs: Any = {} ) -> None
error
BaseException
The error that occurred.
run_id
UUID
The ID of the current run.
parent_run_id
UUID | None
None
The ID of the parent run.
tags
list[str] | None
The tags.
**kwargs
Any
{}
Additional keyword arguments.