browser_handle_dialog
Respond to browser alerts, confirms, prompts, or beforeunload dialogs by accepting or dismissing them, optionally supplying prompt text to complete interactions.
Instructions
Respond to the next dialog (alert/confirm/prompt/beforeunload).
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": {
"accept": "<accept>"
},
"name": "browser_handle_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | Yes | ||
| promptText | No |