Skip to content

GoogleToolCall

Namespace: Vercel.AI.Google

public sealed class GoogleToolCall : GeneratedToolCall

A tool call that records whether the provider executed it.

Inheritance: object → GeneratedContent → GeneratedToolCall

View source

GoogleToolCall(string, string, string, JsonElement?, bool)

Section titled “GoogleToolCall(string, string, string, JsonElement?, bool)”
public GoogleToolCall(string toolCallId, string toolName, string argumentsJson, JsonElement? providerMetadata, bool providerExecuted)

Creates a tool call.

Parameters

Name Type Description
toolCallId string
toolName string
argumentsJson string
providerMetadata JsonElement?
providerExecuted bool

View source

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