click
Perform a mouse click at specified screen coordinates, supporting left, right, or middle buttons and modifier keys such as command, shift, option, or control.
Instructions
Performs a mouse click at specified coordinates. Supports left, right, middle buttons and modifier keys
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 for the click | |
| y | Yes | Y coordinate for the click | |
| button | No | Mouse button to click (left, right, or middle) | left |
| modifiers | No | Modifier keys to hold during click |