browser_handle_dialog
Set how the next JavaScript dialog is handled for a browser session: choose accept or dismiss, apply once or persistently, and supply prompt text.
Instructions
Set how the next JavaScript dialog should be handled.
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": {
"session_id": "<session_id>"
},
"name": "browser_handle_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| once | No | ||
| accept | No | ||
| session_id | Yes | ||
| prompt_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||