game_mouse_drag
Simulate a mouse drag from a start to an end point over a set number of frames. Configure button and step count for precise control.
Instructions
Drag mouse between two points over N frames
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": {
"fromX": "<fromX>",
"fromY": "<fromY>",
"toX": "<toX>",
"toY": "<toY>"
},
"name": "game_mouse_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | Yes | End X coordinate | |
| toY | Yes | End Y coordinate | |
| fromX | Yes | Start X coordinate | |
| fromY | Yes | Start Y coordinate | |
| steps | No | Number of frames for the drag. Default: 10 | |
| button | No | Mouse button (1=left). Default: 1 |