Class LiveClientToolResponse

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveClientToolResponse

public abstract class LiveClientToolResponse extends JsonSerializable
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.

  • Constructor Details

    • LiveClientToolResponse

      public LiveClientToolResponse()
  • Method Details