safari_click
Clicks elements in Safari by reference, CSS selector, visible text, or coordinates, including React and virtual DOM apps, without moving the user's mouse.
Instructions
Click element. Use ref (from snapshot), selector, text, or x/y. Works on React/Airtable/virtual DOM apps via full PointerEvent+MouseEvent sequence + React Fiber fallback. Pure JS — never touches user's mouse. When using ref, always take a FRESH safari_snapshot first — refs expire after each new snapshot.
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_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate | |
| y | No | Y coordinate | |
| ref | No | Ref ID from safari_snapshot (e.g. '0_5') | |
| why | No | Optional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it. | |
| text | No | Visible text to find and click | |
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one | |
| selector | No | CSS selector |