window_click
Send a mouse click to a background window at relative coordinates while keeping the physical cursor and focus unchanged. Specify the window, x/y position, button, and click count.
Instructions
Send a background mouse click at relative coordinates (x, y) inside the target window without moving the user's physical mouse cursor or stealing focus.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate relative to the window. | |
| y | Yes | Y coordinate relative to the window. | |
| button | No | Mouse button to click. | left |
| clicks | No | Number of clicks (1 for single, 2 for double). | |
| window_id | Yes | Target window ID or title. |