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.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of the computer tool. final Map<String, JsonValue>_additionalProperties()final ComputerTool.BuildertoBuilder()final ComputerToolvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ComputerTool.Builderbuilder()Returns a mutable builder for constructing an instance of ComputerTool. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the computer tool. Always
computer.Expected to always return the following:
JsonValue.from("computer")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ComputerTool.Builder toBuilder()
-
validate
final ComputerTool validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ComputerTool.Builder builder()
Returns a mutable builder for constructing an instance of ComputerTool.
-
-
-
-