desktop_drag
Perform a drag between two points within a window, auto-selecting pointer input and ensuring button release for reliable desktop automation.
Instructions
Drag between two observed points inside the same window, automatically choosing independent or foreground pointer input after validation; always attempts release of its own button. Use desktop_drag_to for another destination window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| end_x | Yes | ||
| end_y | Yes | ||
| button | No | left | |
| window_id | Yes | ||
| snapshot_id | Yes |