Class ResponseComputerToolCall
-
- All Implemented Interfaces:
public final class ResponseComputerToolCallA tool call to a computer use tool. See the computer use guide for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseComputerToolCall.BuilderA builder for ResponseComputerToolCall.
public final classResponseComputerToolCall.ActionA click action.
public final classResponseComputerToolCall.PendingSafetyCheckA pending safety check for the computer call.
public final classResponseComputerToolCall.StatusThe status of the item. One of
in_progress,completed, orincomplete. Populated when items are returned via API.public final classResponseComputerToolCall.TypeThe type of the computer call. Always
computer_call.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the computer call. final ResponseComputerToolCall.Actionaction()A click action. final StringcallId()An identifier used when responding to the tool call with output. final List<ResponseComputerToolCall.PendingSafetyCheck>pendingSafetyChecks()The pending safety checks for the computer call. final ResponseComputerToolCall.Statusstatus()The status of the item. final ResponseComputerToolCall.Typetype()The type of the computer call. final JsonField<String>_id()The unique ID of the computer call. final JsonField<ResponseComputerToolCall.Action>_action()A click action. final JsonField<String>_callId()An identifier used when responding to the tool call with output. final JsonField<List<ResponseComputerToolCall.PendingSafetyCheck>>_pendingSafetyChecks()The pending safety checks for the computer call. final JsonField<ResponseComputerToolCall.Status>_status()The status of the item. final JsonField<ResponseComputerToolCall.Type>_type()The type of the computer call. final Map<String, JsonValue>_additionalProperties()final ResponseComputerToolCallvalidate()final ResponseComputerToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseComputerToolCall.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseComputerToolCall. -
-
Method Detail
-
action
final ResponseComputerToolCall.Action action()
A click action.
-
pendingSafetyChecks
final List<ResponseComputerToolCall.PendingSafetyCheck> pendingSafetyChecks()
The pending safety checks for the computer call.
-
status
final ResponseComputerToolCall.Status status()
The status of the item. One of
in_progress,completed, orincomplete. Populated when items are returned via API.
-
type
final ResponseComputerToolCall.Type type()
The type of the computer call. Always
computer_call.
-
_action
final JsonField<ResponseComputerToolCall.Action> _action()
A click action.
-
_callId
final JsonField<String> _callId()
An identifier used when responding to the tool call with output.
-
_pendingSafetyChecks
final JsonField<List<ResponseComputerToolCall.PendingSafetyCheck>> _pendingSafetyChecks()
The pending safety checks for the computer call.
-
_status
final JsonField<ResponseComputerToolCall.Status> _status()
The status of the item. One of
in_progress,completed, orincomplete. Populated when items are returned via API.
-
_type
final JsonField<ResponseComputerToolCall.Type> _type()
The type of the computer call. Always
computer_call.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseComputerToolCall validate()
-
toBuilder
final ResponseComputerToolCall.Builder toBuilder()
-
builder
final static ResponseComputerToolCall.Builder builder()
Returns a mutable builder for constructing an instance of ResponseComputerToolCall.
The following fields are required:
.id() .action() .callId() .pendingSafetyChecks() .status() .type()
-
-
-
-