Click or drag the mouse
mouse_clickSimulate left-button mouse actions in Zandronum: click at a position, drag between two points, or send a double-click.
Instructions
Press and release the left button at a position. Give toX/toY to DRAG: press at the first point, move through it, release at the second. double sends a double-click.
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": "mouse_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| toX | No | ||
| toY | No | ||
| double | No | ||
| instance | No |