Table of Contents

Class LiveClientToolResponse

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Client generated response to a LiveServerToolCall received from the server. Individual FunctionResponse objects are matched to the respective FunctionCall objects by the id field. Note that in the unary and server-streaming GenerateContent APIs function calling happens by exchanging the Content parts, while in the bidi GenerateContent APIs function calling happens over these dedicated set of messages.

public class LiveClientToolResponse
Inheritance
LiveClientToolResponse
Inherited Members
Extension Methods

Properties

FunctionResponses

The response to the function calls.

[JsonPropertyName("functionResponses")]
public FunctionResponse[]? FunctionResponses { get; set; }

Property Value

FunctionResponse[]

See Also