ApprovalToolCallPart
Namespace: Vercel.AI.GenerateText
public sealed class ApprovalToolCallPart : ApprovalHistoryPartA tool call stored in assistant history.
Inheritance: object → ApprovalHistoryPart
Constructors
Section titled “Constructors”ApprovalToolCallPart(string, string, JsonElement)
Section titled “ApprovalToolCallPart(string, string, JsonElement)”public ApprovalToolCallPart(string toolCallId, string toolName, JsonElement input)Creates a tool call part.
Parameters
| Name | Type | Description |
|---|---|---|
toolCallId |
string | |
toolName |
string | |
input |
JsonElement |
Properties
Section titled “Properties”public JsonElement Input { get; }Tool input.
Value: JsonElement
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; }Tool call id.
Value: string
ToolName
Section titled “ToolName”public string ToolName { get; }Tool name.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product