Class ResponseInputItem.ComputerCallOutput.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.ComputerCallOutput.Builder
A builder for ComputerCallOutput.
-
-
Method Summary
-
-
Method Detail
-
callId
final ResponseInputItem.ComputerCallOutput.Builder callId(String callId)
The ID of the computer tool call that produced the output.
-
callId
final ResponseInputItem.ComputerCallOutput.Builder callId(JsonField<String> callId)
The ID of the computer tool call that produced the output.
-
output
final ResponseInputItem.ComputerCallOutput.Builder output(ResponseInputItem.ComputerCallOutput.Output output)
A computer screenshot image used with the computer use tool.
-
output
final ResponseInputItem.ComputerCallOutput.Builder output(JsonField<ResponseInputItem.ComputerCallOutput.Output> output)
A computer screenshot image used with the computer use tool.
-
type
final ResponseInputItem.ComputerCallOutput.Builder type(JsonValue type)
The type of the computer tool call output. Always
computer_call_output
.
-
id
final ResponseInputItem.ComputerCallOutput.Builder id(String id)
The ID of the computer tool call output.
-
id
final ResponseInputItem.ComputerCallOutput.Builder id(JsonField<String> id)
The ID of the computer tool call output.
-
acknowledgedSafetyChecks
final ResponseInputItem.ComputerCallOutput.Builder acknowledgedSafetyChecks(List<ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck> acknowledgedSafetyChecks)
The safety checks reported by the API that have been acknowledged by the developer.
-
acknowledgedSafetyChecks
final ResponseInputItem.ComputerCallOutput.Builder acknowledgedSafetyChecks(JsonField<List<ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck>> acknowledgedSafetyChecks)
The safety checks reported by the API that have been acknowledged by the developer.
-
addAcknowledgedSafetyCheck
final ResponseInputItem.ComputerCallOutput.Builder addAcknowledgedSafetyCheck(ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck acknowledgedSafetyCheck)
The safety checks reported by the API that have been acknowledged by the developer.
-
status
final ResponseInputItem.ComputerCallOutput.Builder status(ResponseInputItem.ComputerCallOutput.Status status)
The status of the message input. One of
in_progress
,completed
, orincomplete
. Populated when input items are returned via API.
-
status
final ResponseInputItem.ComputerCallOutput.Builder status(JsonField<ResponseInputItem.ComputerCallOutput.Status> status)
The status of the message input. One of
in_progress
,completed
, orincomplete
. Populated when input items are returned via API.
-
additionalProperties
final ResponseInputItem.ComputerCallOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.ComputerCallOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.ComputerCallOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.ComputerCallOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.ComputerCallOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.ComputerCallOutput build()
-
-
-
-