Tool call
Defines the tool call schema.
References
NONE
ToolCall
Bases: BaseModel
Defines a tool call request when a language model decides to invoke a tool.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
str
|
The ID of the tool call. |
name |
str
|
The name of the tool. |
args |
dict[str, Any]
|
The arguments of the tool call. |
data |
bytes | None
|
The additional data of the tool call. Defaults to None. |