kernl

Interface: ToolCall

Defined in: packages/protocol/src/language-model/item.ts:197

Tool calls that the model has generated.

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
argumentspublicstringThe stringified JSON object with the arguments of the tool call.-packages/protocol/src/language-model/item.ts:218
callIdpublicstringThe identifier of the tool call. It must be unique across all tool calls.-packages/protocol/src/language-model/item.ts:203
id?publicstringA unique identifier for the item. Optional by default.LanguageModelItemBase.idpackages/protocol/src/language-model/item.ts:37
kindreadonly"tool.call"--packages/protocol/src/language-model/item.ts:198
providerMetadata?publicSharedProviderMetadataOptional provider-specific metadata for the text part.LanguageModelItemBase.providerMetadatapackages/protocol/src/language-model/item.ts:27
statepublicToolCallStateThe state of the tool call.-packages/protocol/src/language-model/item.ts:213
toolIdpublicstringThe id of the tool that should be called.-packages/protocol/src/language-model/item.ts:208

On this page