One of the following:
class RequiredActionSessionRequiredActionResourceComputerUseApprovalRequest: …

Respond to a computer-use request.

request: RequiredActionSessionRequiredActionResourceComputerUseApprovalRequestRequest

The information needed to render the request.

One of the following:
class RequiredActionSessionRequiredActionResourceComputerUseApprovalRequestRequestComputerUseApprovalRequestKindResourceBrowserAuthentication: …

A registered form awaiting the application’s response.

credential_origin: Optional[str]

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

minLength0
fields: List[RequiredActionSessionRequiredActionResourceComputerUseApprovalRequestRequestComputerUseApprovalRequestKindResourceBrowserAuthenticationField]

Controls to render. All submitted values are sensitive.

minItems0
maxItems2000
id: str

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

minLength0
label: str

The label to display beside the control.

minLength0
required: bool

Whether this control requires a nonempty value.

type: str

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

minLength0
options: List[RequiredActionSessionRequiredActionResourceComputerUseApprovalRequestRequestComputerUseApprovalRequestKindResourceBrowserAuthenticationOption]

Sign-in methods. Empty for a plain form.

minItems0
maxItems2000
id: str

The option ID to submit as selected_option.

minLength0
field_ids: List[str]

IDs from the registered fields that this method accepts.

minItems0
maxItems2000
label: str

The method label to display.

minLength0
reason: Optional[str]

Why the agent needs the user to sign in.

minLength0
type: Literal["browser_authentication"]

The type of the object. Always browser_authentication.

class RequiredActionSessionRequiredActionResourceComputerUseApprovalRequestRequestComputerUseApprovalRequestKindResourceBrowserOriginAccess: …

A browser origin awaiting the application’s approval decision.

origin: str

The origin the browser needs permission to access.

minLength0
reason: Optional[str]

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

minLength0
type: Literal["browser_origin_access"]

The type of the object. Always browser_origin_access.

request_id: str

The registered request ID to echo when responding.

minLength0
turn_id: str

The turn that requested approval.

minLength0
type: Literal["computer_use_approval_request"]

The type of the object. Always computer_use_approval_request.

class RequiredActionSessionRequiredActionResourceFunctionCall: …

Run a function tool and submit its result.

arguments: object

The arguments supplied by the model.

call_id: str

The ID to include when submitting the function result.

minLength0
name: str

The function name.

minLength0
turn_id: str

The ID of the turn that requested the function call.

minLength0
type: Literal["function_call"]

The type of the object. Always function_call.

class RequiredActionSessionRequiredActionResourceEnvironmentConnection: …

Reconnect a session environment.

environment_id: str

The ID of the environment to reconnect.

minLength0
type: Literal["environment_connection"]

The type of the object. Always environment_connection.