Package com.google.genai.types
Class LiveServerToolCall
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveServerToolCall
Request for the client to execute the `function_calls` and return the responses with the matching
`id`s.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for LiveServerToolCall. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LiveServerToolCall.Builderbuilder()Instantiates a builder for LiveServerToolCall.static LiveServerToolCallDeserializes a JSON string to a LiveServerToolCall object.abstract Optional<List<FunctionCall>>The function call to be executed.abstract LiveServerToolCall.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
LiveServerToolCall
public LiveServerToolCall()
-
-
Method Details
-
functionCalls
The function call to be executed. -
builder
Instantiates a builder for LiveServerToolCall. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a LiveServerToolCall object.
-