Skip to content

GoogleToolCallAssistantPart

Namespace: Vercel.AI.Google

public sealed class GoogleToolCallAssistantPart : GoogleAssistantPart

An assistant function or server tool call.

Inheritance: object → GoogleAssistantPart

View source

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

View source

public string ArgumentsJson { get; }

JSON arguments.

Value: string

View source

public string? ToolCallId { get; set; }

Client tool-call id.

Value: string

View source

public string ToolName { get; }

Tool name.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product