drag
Drag elements between locations on web pages using realistic human-like interactions to simulate manual dragging actions for browser automation.
Instructions
Drag an element to another element
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": {
"fromUid": "<fromUid>",
"toUid": "<toUid>"
},
"name": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page ID (uses active page if not specified) | |
| fromUid | Yes | Element UID to drag from | |
| toUid | Yes | Element UID to drag to |