left_click
Clicks the left mouse button at specified pixel coordinates to automate macOS desktop interactions. Hold optional modifier keys while clicking to extend actions like command-click or shift-click.
Instructions
Click the left mouse button at the specified coordinates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>"
},
"name": "left_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Horizontal position (pixel coordinate in the screenshot coordinate space) | |
| y | Yes | Vertical position (pixel coordinate in the screenshot coordinate space) | |
| modifiers | No | Modifier keys to hold while clicking |