click
Clicks at screen coordinates in points. Supports left/right button and single or double clicks. Determine coordinates from screenshots.
Instructions
Click at screen coordinates (in points). Use screenshot to determine positions — on Retina displays, divide screenshot pixel coordinates by 2.
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 in screen points | |
| y | Yes | Y coordinate in screen points | |
| button | No | Mouse button | left |
| clicks | No | Number of clicks (1=single, 2=double) |