Click
clickSimulate a left or right mouse button press at specified x,y coordinates on a peer's display; coordinates map to the latest screenshot by default, with an option to use real screen pixels.
Instructions
Click at x,y on the peer's display. By default x,y are pixels of the latest screenshot of that display (mapped to the real screen); set screen_pixels to pass real screen pixels.
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": {
"peer": "<peer>",
"x": "<x>",
"y": "<y>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| peer | Yes | The peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly | |
| button | No | ||
| double | No | ||
| display | No | Display index or name from `info` (default: the main display) | |
| screen_pixels | No |