Table of Contents

Class LiveServerToolCall

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

Request for the client to execute the function_calls and return the responses with the matching ids.

public record LiveServerToolCall : IEquatable<LiveServerToolCall>
Inheritance
LiveServerToolCall
Implements
Inherited Members

Properties

FunctionCalls

The function call to be executed.

[JsonPropertyName("functionCalls")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<FunctionCall>? FunctionCalls { get; set; }

Property Value

List<FunctionCall>

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a LiveServerToolCall object.

public static LiveServerToolCall? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

LiveServerToolCall

The deserialized LiveServerToolCall object, or null if deserialization fails.