mouse_click
Perform mouse clicks at specified coordinates or current cursor, with configurable button, click count, and interval. Optionally target a background window by handle or title without bringing it to foreground.
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 |