advanced_click
Click at screen coordinates or UI elements with modifier keys, multiple clicks, or custom hold duration. Use for right-click, double-click, Ctrl+click, or long-press actions.
Instructions
Perform a click at an element or absolute screen coordinates, with optional modifier keys, multiple clicks, or custom duration. Use for right-click, double-click, Ctrl+click, or coordinate-based clicks. Simulates a real mouse event at screen coordinates, so the target window must be visible and in the foreground.
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": "advanced_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Absolute screen x coordinate | |
| y | No | Absolute screen y coordinate | |
| times | No | Number of clicks (2 = double-click) | |
| button | No | left | |
| elementId | No | Element to click (its center). Provide either elementId or x+y. | |
| durationMs | No | Hold duration in ms (for long-press) | |
| modifierKeys | No | ||
| interClickDelayMs | No |