Interface: ToolCall
Defined in: packages/protocol/src/language-model/item.ts:197
Tool calls that the model has generated.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
arguments | public | string | The stringified JSON object with the arguments of the tool call. | - | packages/protocol/src/language-model/item.ts:218 |
callId | public | string | The identifier of the tool call. It must be unique across all tool calls. | - | packages/protocol/src/language-model/item.ts:203 |
id? | public | string | A unique identifier for the item. Optional by default. | LanguageModelItemBase.id | packages/protocol/src/language-model/item.ts:37 |
kind | readonly | "tool.call" | - | - | packages/protocol/src/language-model/item.ts:198 |
providerMetadata? | public | SharedProviderMetadata | Optional provider-specific metadata for the text part. | LanguageModelItemBase.providerMetadata | packages/protocol/src/language-model/item.ts:27 |
state | public | ToolCallState | The state of the tool call. | - | packages/protocol/src/language-model/item.ts:213 |
toolId | public | string | The id of the tool that should be called. | - | packages/protocol/src/language-model/item.ts:208 |