Cursor (navigate, move, hover and click)
cursorMove a visible overlay pointer to an element by ref, selector, text, or coordinates, then click or hover automatically for in-page navigation.
Instructions
Control the visible glowing cursor and execute clicks or hovers. This is the single, primary tool for in-page navigation and clicking. Target an element by ref (preferred), selector, visible text, or x/y coordinates without needing manual coordinates — the cursor will automatically move to the element and click 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": "cursor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Viewport X coordinate (optional fallback if not using ref/selector/text). | |
| y | No | Viewport Y coordinate. | |
| ref | No | Element ref from snapshot (e.g. "f0_e4"). Cursor moves to its center automatically. | |
| text | No | Visible text or accessible name to match. Cursor moves to its center automatically. | |
| human | No | Move the mouse along a human-like path. Default false. | |
| steps | No | Animation steps. Default 6. | |
| tabId | No | ||
| action | No | "click" (default): moves cursor to element/coords and clicks it. "move": moves cursor to element/coords and inspects it. "hover": moves and hovers. "hide": removes cursor overlay. | click |
| button | No | left | |
| animate | No | Animate cursor movement. Default true. | |
| frameId | No | ||
| timeout | No | ||
| trusted | No | true = real CDP input; false = DOM events. | |
| selector | No | CSS selector to target. Cursor moves to its center automatically. | |
| exactText | No | ||
| modifiers | No | ||
| waitUntil | No | domcontentloaded | |
| clickCount | No | ||
| delayAfter | No | ||
| switchToNewTab | No | ||
| detectNavigationMs | No | How long to watch for navigation after clicking. Default 700. |