EdgeAIG/opencode / .opencode /node_modules /@ai-sdk /provider /src /language-model /v2 /language-model-v2-tool-call.ts
| import { SharedV2ProviderMetadata } from '../../shared/v2/shared-v2-provider-metadata'; | |
| /** | |
| * Tool calls that the model has generated. | |
| */ | |
| export type LanguageModelV2ToolCall = { | |
| type: 'tool-call'; | |
| /** | |
| * The identifier of the tool call. It must be unique across all tool calls. | |
| */ | |
| toolCallId: string; | |
| /** | |
| * The name of the tool that should be called. | |
| */ | |
| toolName: string; | |
| /** | |
| * Stringified JSON object with the tool call arguments. Must match the | |
| * parameters schema of the tool. | |
| */ | |
| input: string; | |
| /** | |
| * Whether the tool call will be executed by the provider. | |
| * If this flag is not set or is false, the tool call will be executed by the client. | |
| */ | |
| providerExecuted?: boolean; | |
| /** | |
| * Additional provider-specific metadata for the tool call. | |
| */ | |
| providerMetadata?: SharedV2ProviderMetadata; | |
| }; | |
Xet Storage Details
- Size:
- 855 Bytes
- Xet hash:
- 9e33236a50038a91195be1f6f3384e81475b796c74a6148acbb395d8f81c4a58
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.