safari_handle_dialog
Configure handling for the next Safari alert, confirm, or prompt dialog by choosing to accept or dismiss it, and supply text for prompt inputs before the dialog appears.
Instructions
Set up handler for the next alert/confirm/prompt dialog
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": "safari_handle_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to enter for prompt dialogs | |
| action | No | Accept or dismiss (default: accept) | |
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one |