dialog_handle
Accepts or dismisses browser dialogs (alert, confirm, prompt). Returns type, message, and acceptance status. For prompts, fill input text before accepting.
Instructions
Handle the currently open alert/confirm/prompt dialog.
Returns dialog type, message, and whether it was accepted. Fails immediately
if no dialog is present — use dialog_auto for pre-emptive handling.
For prompt dialogs, pass text to fill the input field before accepting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| accept | No | ||
| tab_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |