glass_click
Perform mouse clicks at window-relative coordinates, selecting button, click count, and optional modifier keys for multi-select actions in native GUI apps.
Instructions
Click at window-relative coordinates. button: left|right|middle; count for multi-click. Optional modifiers held during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Click point x, window-relative — 0 is the window's left edge, not the screen's. | |
| y | Yes | Click point y, window-relative — 0 is the window's top edge, not the screen's. | |
| count | No | Consecutive clicks at this point (default 1); pass 2 for a double-click. | |
| button | No | "left" (default), "right", or "middle". | |
| modifiers | No | Modifier keys to hold during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select. |