Package com.google.genai.types
Class LiveServerToolCallCancellation
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveServerToolCallCancellation
Notification for the client that a previously issued `ToolCallMessage` with the specified `id`s
should have been not executed and should be cancelled.
If there were side-effects to those tool calls, clients may attempt to undo the tool calls. This message occurs only in cases where the clients interrupt server turns.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for LiveServerToolCallCancellation. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
LiveServerToolCallCancellation
public LiveServerToolCallCancellation()
-
-
Method Details
-
ids
The ids of the tool calls to be cancelled. -
builder
Instantiates a builder for LiveServerToolCallCancellation. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a LiveServerToolCallCancellation object.
-