browser_handle_dialog
Handle browser dialog boxes by accepting or dismissing them, including providing text for prompt dialogs, across multiple parallel sessions.
Instructions
Handle a dialog
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": {
"sessionId": "<sessionId>",
"accept": "<accept>"
},
"name": "browser_handle_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | Yes | Whether to accept the dialog. | |
| sessionId | Yes | The session ID to use for this operation | |
| promptText | No | The text of the prompt in case of a prompt dialog. |