start_dialog_capture
Begins a one-time observation window before an action that may open a browser JavaScript dialog, so you can later retrieve and handle the captured OK/Cancel or prompt response.
Instructions
Start a single-use observation interval in the browser_token session immediately before an anticipated dialog-producing operation. Requires a connected observer and no already-pending dialog in that session. Only if Windows Computer Use refuses a click with "coordinate input geometry is unavailable": require get_dialog_status(browser_token) to return no_dialog, call get_window_state on that same window with include_screenshot: true and include_text: true, choose the target from the fresh observation and retry the refused click once. Keep any already-armed capture_id. Keep capture_id with browser_token. Perform the expected operation without Computer Use capture afterward, then call get_captured_dialog. Every opening in that Chrome instance counts, including other tabs/windows and dialogs that close or are replaced; separate managed sessions do not count.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"browser_token": "<browser_token>"
},
"name": "start_dialog_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser_token | Yes | Private capability token for this managed browser session; use the token returned by launch_chrome. |