| Name | Type | Description |
|---|---|---|
serialized* | dict[str, Any] | None | Serialized representation of the tool. |
input_str* | str | The input to the tool as a string. Non-string inputs are cast to strings. |
run_id | UUID | None | Default: None |
parent_run_id | UUID | None | Default: None |
inputs | dict[str, Any] | None | Default: None |
**kwargs | Any | Default: {} |
Run when tool starts running.
ID for the run.
The ID of the parent run.
The original input to the tool if provided.
Recommended for usage instead of input_str when the original input is needed.
If provided, the inputs are expected to be formatted as a dict. The keys will correspond to the named-arguments in the tool.
The keyword arguments to pass to the event handler