Package com.google.genai.types
Class ToolComputerUse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ToolComputerUse
Tool to support computer use.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ToolComputerUse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ToolComputerUse.Builderbuilder()Instantiates a builder for ToolComputerUse.abstract Optional<Environment>Required.static ToolComputerUseDeserializes a JSON string to a ToolComputerUse object.abstract ToolComputerUse.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
toJson
-
Constructor Details
-
ToolComputerUse
public ToolComputerUse()
-
-
Method Details
-
environment
Required. The environment being operated. -
builder
Instantiates a builder for ToolComputerUse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ToolComputerUse object.
-