mouse_click
Click a mouse button at exact coordinates or on background windows without focus disruption. Supports double-click and multi-click with configurable intervals.
Instructions
Click a mouse button, optionally at a specific coordinate.
Use clicks=2 for a double-click. If x/y are omitted the click happens at the current cursor position.
BACKGROUND TARGETING: set hwnd or window_title to click a specific window
WITHOUT bringing it to the foreground (Win32 PostMessage). In that mode x/y are
client coordinates of the target window and the deepest child control at that
point receives the click.
Args: params (ClickInput): position, button, click count, interval, optional target.
Returns: str: JSON describing the click that was performed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |