ApprovalRequestPart
Namespace: Vercel.AI.GenerateText
public sealed class ApprovalRequestPart : ApprovalHistoryPartA request that a tool call be approved.
Inheritance: object → ApprovalHistoryPart
Constructors
Section titled “Constructors”ApprovalRequestPart(string, string)
Section titled “ApprovalRequestPart(string, string)”public ApprovalRequestPart(string approvalId, string toolCallId)Creates an approval request part.
Parameters
| Name | Type | Description |
|---|---|---|
approvalId |
string | |
toolCallId |
string |
Properties
Section titled “Properties”ApprovalId
Section titled “ApprovalId”public string ApprovalId { get; }Approval id.
Value: string
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; }Tool call id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product