Handle next native dialog
tab_dialogArms a one-shot accept or dismiss response for an upcoming browser alert, confirm, or prompt dialog. Optionally include prompt text; unarmed dialogs are dismissed and reported as unsupported flow.
Instructions
Arm a one-shot accept or dismiss response before the action that opens an alert, confirm or prompt. Optional prompt_text is entered only for that dialog. Unarmed dialogs are dismissed and reported as unsupported flow; check actual outcomes before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| session_id | Yes | Session ID returned by tab_open. | |
| prompt_text | No |