Class ResponseInputItem.ComputerCallOutput
-
- All Implemented Interfaces:
public final class ResponseInputItem.ComputerCallOutput
The output of a computer tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseInputItem.ComputerCallOutput.Builder
A builder for ComputerCallOutput.
public final class
ResponseInputItem.ComputerCallOutput.Output
A computer screenshot image used with the computer use tool.
public final class
ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck
A pending safety check for the computer call.
public final class
ResponseInputItem.ComputerCallOutput.Status
The status of the message input. One of
in_progress
,completed
, orincomplete
. Populated when input items are returned via API.
-
Method Summary
Modifier and Type Method Description final String
callId()
The ID of the computer tool call that produced the output. final ResponseInputItem.ComputerCallOutput.Output
output()
A computer screenshot image used with the computer use tool. final JsonValue
_type()
The type of the computer tool call output. final Optional<String>
id()
The ID of the computer tool call output. final Optional<List<ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck>>
acknowledgedSafetyChecks()
The safety checks reported by the API that have been acknowledged by the developer. final Optional<ResponseInputItem.ComputerCallOutput.Status>
status()
The status of the message input. final JsonField<String>
_callId()
The ID of the computer tool call that produced the output. final JsonField<ResponseInputItem.ComputerCallOutput.Output>
_output()
A computer screenshot image used with the computer use tool. final JsonField<String>
_id()
The ID of the computer tool call output. final JsonField<List<ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck>>
_acknowledgedSafetyChecks()
The safety checks reported by the API that have been acknowledged by the developer. final JsonField<ResponseInputItem.ComputerCallOutput.Status>
_status()
The status of the message input. final Map<String, JsonValue>
_additionalProperties()
final ResponseInputItem.ComputerCallOutput
validate()
final ResponseInputItem.ComputerCallOutput.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseInputItem.ComputerCallOutput.Builder
builder()
Returns a mutable builder for constructing an instance of ComputerCallOutput. -
-
Method Detail
-
output
final ResponseInputItem.ComputerCallOutput.Output output()
A computer screenshot image used with the computer use tool.
-
_type
final JsonValue _type()
The type of the computer tool call output. Always
computer_call_output
.
-
acknowledgedSafetyChecks
final Optional<List<ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck>> acknowledgedSafetyChecks()
The safety checks reported by the API that have been acknowledged by the developer.
-
status
final Optional<ResponseInputItem.ComputerCallOutput.Status> status()
The status of the message input. One of
in_progress
,completed
, orincomplete
. Populated when input items are returned via API.
-
_callId
final JsonField<String> _callId()
The ID of the computer tool call that produced the output.
-
_output
final JsonField<ResponseInputItem.ComputerCallOutput.Output> _output()
A computer screenshot image used with the computer use tool.
-
_acknowledgedSafetyChecks
final JsonField<List<ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck>> _acknowledgedSafetyChecks()
The safety checks reported by the API that have been acknowledged by the developer.
-
_status
final 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 Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseInputItem.ComputerCallOutput validate()
-
toBuilder
final ResponseInputItem.ComputerCallOutput.Builder toBuilder()
-
builder
final static ResponseInputItem.ComputerCallOutput.Builder builder()
Returns a mutable builder for constructing an instance of ComputerCallOutput.
The following fields are required:
.callId() .output()
-
-
-
-