Responds to a pending Computer Use approval request.
The registered request ID from the required action.
The response for this request type.
Values for up to six active fields in the required action. The submitted field-value mapping and selected option must fit within 120 KiB of JSON.
The field ID from the required action.
The value to enter into the registered control.
The chosen method. Required when the required action contains options.
Whether to allow, deny, or cancel the requested origin access.
Allow the browser to access this origin.
Deny access to this origin.
Dismiss this request without approving access.
The type of the object. Always agent.session.input.computer_use_approval_request_result.
agent.session.input.computer_use_approval_request_result
Adds one or more user messages and starts a turn.
The user messages to add to the session.
The content of the message.
Text input to the model.
The text sent to the model.
The type of the object. Always input_text.
input_text
Image input to the model.
The URL of the image sent to the model.
The type of the object. Always input_image.
input_image
The role of the message author. Always user.
user
The type of the input item. Always message.
message
The type of the object. Always agent.session.input.message.
agent.session.input.message
Cancels the session’s active turn.
The type of the object. Always agent.session.input.cancel.
agent.session.input.cancel
Submits the result of a function call.
The ID of the function call.
Whether the function call succeeded.
The ID of the turn that requested the function call.
The type of the object. Always agent.session.input.tool_result.
agent.session.input.tool_result
The error message when the call failed.
The function result when the call succeeded.