safari_native_hover
Moves the real macOS cursor over an element to fire true native hover and mouseenter events, so tooltips that ignore JS-dispatched events still appear. Dwells, then restores the cursor.
Instructions
OS-level mouse hover via macOS CGEvent — moves the real cursor to an element to trigger native :hover / mouseenter handlers. Use for obfuscated UIs where JS-dispatched mouseenter isn't enough, like Discord server sidebars (tooltips only appear on real hover) or portal-rendered tooltips. After hover, call safari_wait_for or safari_evaluate to read the tooltip. Dwells for dwellMs to let tooltips render, then restores the original cursor position by default. Requires Safari window to be visible.
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_native_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Viewport X coordinate | |
| y | No | Viewport Y coordinate | |
| ref | No | Ref ID from safari_snapshot | |
| 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 hover | |
| dwellMs | No | Milliseconds to dwell over the element so tooltips render (clamped 0-5000) | |
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one | |
| selector | No | CSS selector | |
| restoreMouse | No | Restore cursor to original position after dwell |