LiveClientToolResponse

@Serializable
data class LiveClientToolResponse(val functionResponses: List<FunctionResponse>? = null)

Client generated response to a ToolCall 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 this dedicated set of messages.

Constructors

Link copied to clipboard
constructor(functionResponses: List<FunctionResponse>? = null)

Properties

Link copied to clipboard

The response to the function calls.