dialog_handle
Prepare to automatically accept or dismiss the next browser dialog, such as an alert, confirm, or prompt. Optionally provide text for prompt responses.
Instructions
Pre-arm handler for next alert/confirm/prompt. Call BEFORE action that triggers it.
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 | |
| text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |