mouse_click
Click at logical screen coordinates or the current cursor position. Compute coordinates from screenshot bounds and pixels-per-point to target UI elements on macOS. Supports left, right, or middle clicks with optional modifiers.
Instructions
Click at (x, y), or at the current cursor if omitted. Coordinates are logical points, origin top-left of the main display. Compute them from the screenshot tool's bounds_pt and px_per_pt metadata. After clicking, take a screenshot to verify the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| clamp | No | ||
| count | No | ||
| button | No | left | |
| modifiers | No | ||
| require_fresh_screenshot | No |