browser_dialog
Inspect, accept, or dismiss JavaScript alert, confirm, and prompt dialogs in the Playwright browser, since they are never handled automatically.
Instructions
Inspect or answer a JavaScript dialog (alert/confirm/prompt) in the Playwright browser. Dialogs are never accepted automatically.
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": "browser_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status | |
| promptText | No |