GoogleToolCallAssistantPart
Namespace: Vercel.AI.Google
public sealed class GoogleToolCallAssistantPart : GoogleAssistantPartAn assistant function or server tool call.
Inheritance: object → GoogleAssistantPart
Constructors
Section titled “Constructors”GoogleToolCallAssistantPart(string, string)
Section titled “GoogleToolCallAssistantPart(string, string)”public GoogleToolCallAssistantPart(string toolName, string argumentsJson)Creates a tool call.
Parameters
| Name | Type | Description |
|---|---|---|
toolName |
string | |
argumentsJson |
string |
Properties
Section titled “Properties”ArgumentsJson
Section titled “ArgumentsJson”public string ArgumentsJson { get; }JSON arguments.
Value: string
ToolCallId
Section titled “ToolCallId”public string? ToolCallId { get; set; }Client 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