Skip to content

GoogleRealtimeTool

Namespace: Vercel.AI.Google

public sealed class GoogleRealtimeTool

A realtime function tool.

Inheritance: object

View source

GoogleRealtimeTool(string, string?, JsonElement?)

Section titled “GoogleRealtimeTool(string, string?, JsonElement?)”
public GoogleRealtimeTool(string name, string? description, JsonElement? parameters)

Creates a tool.

Parameters

Name Type Description
name string
description string
parameters JsonElement?

View source

public string? Description { get; }

Description.

Value: string

View source

public string Name { get; }

Tool name.

Value: string

View source

public JsonElement? Parameters { get; }

JSON Schema parameters.

Value: JsonElement?

View source

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