ask
Hand control back to the user for CAPTCHA, QR login, SMS/OTP, or confirmation; block until they act, then resume automation.
Instructions
Hand control back to the user for one step, then continue. For captcha, QR login, SMS/OTP, or any confirmation that should be a human decision. Brings the tab forward, shows a panel, highlights your targets, sends a desktop notification, and blocks until the user acts. Use it instead of retrying a step that needs a human. A "cancelled" result means the user said no: stop that task, do not look for another way to do the same thing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Bring the tab forward. Default true — the user is being asked to look at it. | |
| tabId | No | Target tab id. Omit to use the active controlled tab. | |
| title | No | Short panel title. Optional. | |
| until | No | Auto-finish when the page proves it is done, so the user need not click anything. e.g. {"urlContains":"/dashboard"} or {"selectorExists":"[data-testid=avatar]"}. | |
| prompt | Yes | What the user should do, in their language. Be specific about how you will know it is done. | |
| spaceId | No | Pin this command to an owned BeatBrowser TaskSpace. Also pass its tabId. | |
| targets | No | Refs ("e7") or CSS selectors to scroll to and flash-highlight. Strongly recommended whenever your prompt mentions a concrete control — it saves the user from hunting for it. | |
| timeout | No | ms to wait, default 300000 (5 min), max 600000. |