browser_handle_dialog
Accept or dismiss browser dialogs (alert, confirm, prompt) with optional prompt text input. Resolve dialog interruptions during web automation.
Instructions
处理对话框
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": {
"action": "<action>"
},
"name": "browser_handle_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| promptText | No |