dialog_handle
Set a one-time handler for the next browser dialog on any tab, choosing to accept or dismiss it. Optionally provide text for prompts to automate responses.
Instructions
Set handler for the next alert/confirm/prompt on ANY open tab (first dialog wins, handler then clears).
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": "dialog_handle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | accept | |
| prompt_text | No |