Class LiveServerToolCall

  • All Implemented Interfaces:

    
    public abstract class LiveServerToolCall
    extends JsonSerializable
                        

    Request for the client to execute the `function_calls` and return the responses with the matching `id`s.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class LiveServerToolCall.Builder

      Builder for LiveServerToolCall.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<List<FunctionCall>> functionCalls() The function call to be executed.
      static LiveServerToolCall.Builder builder() Instantiates a builder for LiveServerToolCall.
      abstract LiveServerToolCall.Builder toBuilder() Creates a builder with the same values as this instance.
      static LiveServerToolCall fromJson(String jsonString) Deserializes a JSON string to a LiveServerToolCall object.
      • Methods inherited from class com.google.genai.JsonSerializable

        fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait