firefox_dialog
Accept or dismiss blocking native dialogs like alerts, confirms, prompts, or beforeunload messages in Firefox to continue automation sessions.
Instructions
Accept or dismiss a native dialog (alert, confirm, prompt, beforeunload) that is blocking the page. Firefox-only: in Chrome a blocking dialog ends the automation session, here it can be cleared.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "firefox_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to enter into a prompt | |
| tabId | No | Tab showing the dialog. Use tabs_context_mcp if you do not have a valid tab id. | |
| action | No | Default accept |