EdgeAIG/opencode / .opencode /node_modules /@ai-sdk /provider /src /language-model /v3 /language-model-v3-tool-approval-request.ts
| import { SharedV3ProviderMetadata } from '../../shared/v3/shared-v3-provider-metadata'; | |
| /** | |
| * Tool approval request emitted by a provider for a provider-executed tool call. | |
| * | |
| * This is used for flows where the provider executes the tool (e.g. MCP tools) | |
| * but requires an explicit user approval before continuing. | |
| */ | |
| export type LanguageModelV3ToolApprovalRequest = { | |
| type: 'tool-approval-request'; | |
| /** | |
| * ID of the approval request. This ID is referenced by the subsequent | |
| * tool-approval-response (tool message) to approve or deny execution. | |
| */ | |
| approvalId: string; | |
| /** | |
| * The tool call ID that this approval request is for. | |
| */ | |
| toolCallId: string; | |
| /** | |
| * Additional provider-specific metadata for the approval request. | |
| */ | |
| providerMetadata?: SharedV3ProviderMetadata; | |
| }; | |
Xet Storage Details
- Size:
- 812 Bytes
- Xet hash:
- f570c52eaf92531db8dcf6df16dc367b188edcde1c21a80e5bda305418d521dd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.