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 class
Builder for LiveServerToolCall. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LiveServerToolCall.Builder
builder()
Instantiates a builder for LiveServerToolCall.static LiveServerToolCall
Deserializes a JSON string to a LiveServerToolCall object.abstract Optional<List<FunctionCall>>
The function call to be executed.abstract LiveServerToolCall.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, 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.
-