safari_handle_dialog
Handle Safari alert, confirm, and prompt dialogs by accepting or dismissing them, or entering text for prompt inputs. Set up a handler for the next dialog to automate browser interactions.
Instructions
Set up handler for the next alert/confirm/prompt dialog
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to enter for prompt dialogs | |
| action | No | Accept or dismiss (default: accept) | |
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) |