Click the mouse (raw coordinates)
clickMove the real mouse pointer to specified x/y coordinates and press a mouse button through kernel input, enabling interaction with canvas or custom-drawn UI when accessible element names are unavailable.
Instructions
Move to (x, y) and click a real mouse button there via the kernel input layer (uinput), like a physical mouse. Prefer click_element for anything with an accessible name (buttons, links, fields) — it's exact and doesn't require knowing pixel coordinates. Use this raw version for canvas/custom-drawn UI, or coordinates you got from a screenshot.
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 | ||
| y | Yes | ||
| button | No | left | |
| clicks | No | 1 = single click, 2 = double click | |
| screenshot_id | No | ||
| window_address | No | ||
| coordinate_space | No | screen |