Package com.openai.models.responses
Class ComputerTool.Builder
-
- All Implemented Interfaces:
public final class ComputerTool.Builder
A builder for ComputerTool.
-
-
Method Summary
-
-
Method Detail
-
displayHeight
final ComputerTool.Builder displayHeight(Double displayHeight)
The height of the computer display.
-
displayHeight
final ComputerTool.Builder displayHeight(JsonField<Double> displayHeight)
The height of the computer display.
-
displayWidth
final ComputerTool.Builder displayWidth(Double displayWidth)
The width of the computer display.
-
displayWidth
final ComputerTool.Builder displayWidth(JsonField<Double> displayWidth)
The width of the computer display.
-
environment
final ComputerTool.Builder environment(ComputerTool.Environment environment)
The type of computer environment to control.
-
environment
final ComputerTool.Builder environment(JsonField<ComputerTool.Environment> environment)
The type of computer environment to control.
-
type
final ComputerTool.Builder type(JsonValue type)
The type of the computer use tool. Always
computer_use_preview
.
-
additionalProperties
final ComputerTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ComputerTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ComputerTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ComputerTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ComputerTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ComputerTool build()
-
-
-
-