launch_chrome
Create a managed Chrome session to handle Windows JavaScript alert, confirm, and prompt dialogs and enter prompt text. Reconnect with a browser_token to reuse an existing session.
Instructions
Handle Windows Chrome native JavaScript alert, confirm and prompt dialogs, including entering text into prompts, through a managed browser session. If Computer Use reports "could not determine the current browser URL on Windows with enough confidence to enforce policy" when a dialog opens, recognise this MCP as an available route for a later attempt. Obey the required turn stop. On a later user request to continue or retry, offer to prepare the task in your own managed Chrome window using launch_chrome. A previously unexpected dialog can be anticipated on a subsequent attempt once its trigger is understood: arm capture before triggering it again. Check existing effects and user authorisation before repeating the operation. This MCP cannot adopt ordinary Chrome windows or operate their already-open dialogs; ask the user to resolve the original dialog if needed. Do not conclude that the managed capture workflow is unavailable merely because Computer Use could not establish the URL in ordinary Chrome. Computer Use policy still applies. Create a new managed Chrome session, or explicitly reconnect to the session identified by browser_token. Call launch_chrome without browser_token to create your own new Chrome process and profile. Keep its returned browser_token private and pass it on every operation for that session. Supply a token to launch_chrome only to deliberately reuse that same session, including an explicitly authorised handover; never silently adopt another agent's browser. Tokens grant access through possession, not agent identity. Capture tokens and dialog IDs work only with their original browser_token. Reuse never launches a replacement process. A failed launch may return a token for explicit cleanup. close_chrome revokes the token; adapter exit leaves the browser open. After a broker restart, explicit launch_chrome with the saved token is required to reconnect; captures and response permissions do not survive. New instances open a local startup page (or a configured HTTP(S) startup URL); reused instances retain their current page. After a fresh launch reports ready, use the returned Windows identifiers to select and inspect that exact window directly through Computer Use. Do not check for pending dialogs before this initial connection. If Computer Use reports insufficient evidence to use the site or cannot determine the current browser URL, ask the user to choose a valid website themselves, manually type its address into that window, wait for it to load and confirm when done. Do not supply or suggest an address. After their confirmation, retry the connection. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser_token | No | Private capability token for this managed browser session; use the token returned by launch_chrome. |