Drag Pointer Between Coordinates
page_pointer_dragDrag from start to end coordinates in a viewport, optionally through ordered waypoints, while holding the mouse button and always releasing it safely.
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.
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": {
"start_x": "<start_x>",
"start_y": "<start_y>",
"end_x": "<end_x>",
"end_y": "<end_y>"
},
"name": "page_pointer_drag"
}
}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 |
| tab_id | No | Optional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start. | |
| 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 | |||