| Name | Type | Description |
|---|---|---|
serialized* | dict[str, Any] | Serialized tool descriptor with |
input_str* | str | String representation of the tool input. |
run_id* | UUID | Unique identifier for this tool run. |
parent_run_id | Optional[UUID] | Default: None |
metadata | Optional[dict[str, Any]] | Default: None |
inputs | Optional[dict[str, Any]] | Default: None |
**kwargs | Any | Default: {} |
Create a span representing tool execution.
Records the tool name, description, type, and input arguments. When content recording is enabled, tool call arguments are included in the span attributes.
Run ID of the parent chain/agent.
Metadata dict with thread_id, tool_name, etc.
Structured tool input dictionary (when available).
Additional keyword arguments including name.