dialog_auto
Automatically accept or dismiss browser dialogs such as alerts, confirms, and prompts. Disable auto mode to inspect dialog content manually.
Instructions
Enable or disable automatic handling of alert/confirm/prompt dialogs.
When enabled, all future dialogs are automatically accepted (accept=true)
or dismissed (accept=false) without manual intervention. Disable with
enabled=false when you need to inspect dialog content with dialog_handle.
Auto mode is automatically disabled on browser disconnect.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"enabled": "<enabled>"
},
"name": "dialog_auto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | No | ||
| tab_id | No | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |