One of the following:
class ComputerUseApprovalRequest:

Respond to a computer-use request.

Request request

The information needed to render the request.

One of the following:
class BrowserAuthentication:

A registered form awaiting the application’s response.

Optional<String> credentialOrigin

The registered form or frame origin where values will be entered.

minLength0
List<Field> fields

Controls to render. All submitted values are sensitive.

minItems0
maxItems2000
String id

The field ID to submit as field_id in a fields entry.

minLength0
String label

The label to display beside the control.

minLength0
boolean required

Whether this control requires a nonempty value.

String type

The rendering type, such as email, password, or text.

minLength0
List<Option> options

Sign-in methods. Empty for a plain form.

minItems0
maxItems2000
String id

The option ID to submit as selected_option.

minLength0
List<String> fieldIds

IDs from the registered fields that this method accepts.

minItems0
maxItems2000
String label

The method label to display.

minLength0
Optional<String> reason

Why the agent needs the user to sign in.

minLength0
JsonValue; type
constant
constant

The type of the object. Always browser_authentication.

class BrowserOriginAccess:

A browser origin awaiting the application’s approval decision.

String origin

The origin the browser needs permission to access.

minLength0
Optional<String> reason

The browser’s explanation for this request, or null when unavailable.

minLength0
JsonValue; type
constant
constant

The type of the object. Always browser_origin_access.

String requestId

The registered request ID to echo when responding.

minLength0
String turnId

The turn that requested approval.

minLength0
JsonValue; type
constant
constant

The type of the object. Always computer_use_approval_request.

class FunctionCall:

Run a function tool and submit its result.

JsonValue arguments

The arguments supplied by the model.

String callId

The ID to include when submitting the function result.

minLength0
String name

The function name.

minLength0
String turnId

The ID of the turn that requested the function call.

minLength0
JsonValue; type
constant
constant

The type of the object. Always function_call.

class EnvironmentConnection:

Reconnect a session environment.

String environmentId

The ID of the environment to reconnect.

minLength0
JsonValue; type
constant
constant

The type of the object. Always environment_connection.