Package com.openai.models.responses
Class ComputerTool
-
- All Implemented Interfaces:
public final class ComputerToolA tool that controls a virtual computer. Learn more about the computer tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classComputerTool.BuilderA builder for ComputerTool.
public final classComputerTool.EnvironmentThe type of computer environment to control.
-
Method Summary
Modifier and Type Method Description final DoubledisplayHeight()The height of the computer display. final DoubledisplayWidth()The width of the computer display. final ComputerTool.Environmentenvironment()The type of computer environment to control. final JsonValue_type()The type of the computer use tool. final JsonField<Double>_displayHeight()The height of the computer display. final JsonField<Double>_displayWidth()The width of the computer display. final JsonField<ComputerTool.Environment>_environment()The type of computer environment to control. final Map<String, JsonValue>_additionalProperties()final ComputerToolvalidate()final ComputerTool.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ComputerTool.Builderbuilder()Returns a mutable builder for constructing an instance of ComputerTool. -
-
Method Detail
-
displayHeight
final Double displayHeight()
The height of the computer display.
-
displayWidth
final Double displayWidth()
The width of the computer display.
-
environment
final ComputerTool.Environment environment()
The type of computer environment to control.
-
_displayHeight
final JsonField<Double> _displayHeight()
The height of the computer display.
-
_displayWidth
final JsonField<Double> _displayWidth()
The width of the computer display.
-
_environment
final JsonField<ComputerTool.Environment> _environment()
The type of computer environment to control.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ComputerTool validate()
-
toBuilder
final ComputerTool.Builder toBuilder()
-
builder
final static ComputerTool.Builder builder()
Returns a mutable builder for constructing an instance of ComputerTool.
The following fields are required:
.displayHeight() .displayWidth() .environment()
-
-
-
-