mouse_drag
Performs a mouse drag between specified pixel coordinates in a Windows 98 VM, holding the chosen button. Locks the VM during the operation; use vm_unlock afterwards.
Instructions
Drag between exact pixel coordinates while holding the selected mouse button. VM remains locked by this session; call vm_unlock when finished.
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": {
"from_x": "<from_x>",
"from_y": "<from_y>",
"to_x": "<to_x>",
"to_y": "<to_y>",
"vm_name": "<vm_name>"
},
"name": "mouse_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_x | Yes | Zero-based physical screen coordinate. | |
| to_y | Yes | Zero-based physical screen coordinate. | |
| steps | No | ||
| button | No | left | |
| from_x | Yes | Zero-based physical screen coordinate. | |
| from_y | Yes | Zero-based physical screen coordinate. | |
| vm_name | Yes | Unique VM name configured in WIN98CTL.INI. | |
| duration_ms | No |