desktop_drag
Presses the left mouse button and drags between coordinates, along a multi-point path, or from a previous drag to automate desktop pointer interactions.
Instructions
Press left button and drag smoothly from (from_x, from_y) to (to_x, to_y), along a multi-point path, or continuing from previous drag (from_last / continue_from).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "desktop_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| to_x | No | ||
| to_y | No | ||
| from_x | No | ||
| from_y | No | ||
| from_last | No | ||
| modifiers | No | ||
| from_frame | No | ||
| duration_ms | No | ||
| allow_windows | No | ||
| continue_from | No | ||
| allow_activate | No | ||
| verify_content | No |