EdgeAIG/opencode / .opencode /node_modules /@ai-sdk /provider /src /language-model /v3 /language-model-v3-tool-call.ts
| import { SharedV3ProviderMetadata } from '../../shared/v3/shared-v3-provider-metadata'; | |
| /** | |
| * Tool calls that the model has generated. | |
| */ | |
| export type LanguageModelV3ToolCall = { | |
| 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; | |
| /** | |
| * Whether the tool is dynamic, i.e. defined at runtime. | |
| * For example, MCP (Model Context Protocol) tools that are executed by the provider. | |
| */ | |
| dynamic?: boolean; | |
| /** | |
| * Additional provider-specific metadata for the tool call. | |
| */ | |
| providerMetadata?: SharedV3ProviderMetadata; | |
| }; | |
Xet Storage Details
- Size:
- 1.04 kB
- Xet hash:
- 56e26b7c2ed7dd76d7d6b0776311fc5b8f41c48982405cd89e9836758f905e41
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.