browser_drag
Drag one element onto another for kanban cards, sortable lists, file tiles, or sliders. Triggers both HTML5 and pointer events so native and JS-library targets respond.
Instructions
Drag one element onto another (kanban cards, sortable lists, file tiles, sliders). Fires both HTML5 drag-and-drop and a pointer-drag sequence so native and JS-library targets both respond.
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": {
"fromRef": "<fromRef>",
"toRef": "<toRef>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toRef | Yes | Ref of the drop target. | |
| fromRef | Yes | Ref of the element to drag. |