Handle an error for a tool run.
on_tool_error(
self,
error: BaseException,
*,
run_id: UUID,
**kwargs: Any = {}
) -> Run| Name | Type | Description |
|---|---|---|
error* | BaseException | The error. |
run_id* | UUID | The run ID. |
**kwargs | Any | Default: {}Additional arguments. |