Click
clickPerforms a mouse click at given screen coordinates on macOS. Specify x, y, and optional button type (left, right, double).
Instructions
Click at screen coordinates. Requires admin mode AND MACCTL_ALLOW_INPUT=true, and the cliclick tool (brew install cliclick).
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": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate (screen points). | |
| y | Yes | Y coordinate (screen points). | |
| button | No | Click type. | left |