mouse_click
Simulate left, right, or middle mouse clicks at specified screen coordinates, current cursor, or background windows without focusing them. Supports double-click and 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 |