Drag Pointer Between Coordinates
page_pointer_dragPerform a mouse drag across viewport coordinates, optionally through waypoints, with guaranteed button release to prevent stuck states.
Instructions
Perform one failure-safe viewport drag through optional ordered waypoints using direct or bounded natural movement while the button remains pressed. Always releases the button.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_x | Yes | Viewport drag end X in CSS pixels | |
| end_y | Yes | Viewport drag end Y in CSS pixels | |
| button | No | Mouse button held during the drag | left |
| element | No | Human-readable draggable element or interaction description | |
| profile | No | Movement profile for the approach and every held segment: direct or deterministic bounded natural motion | direct |
| start_x | Yes | Viewport drag start X in CSS pixels | |
| start_y | Yes | Viewport drag start Y in CSS pixels | |
| waypoints | No | Optional ordered viewport points visited while the button remains pressed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||