browser_drag
Automate browser drag-and-drop by moving an element from a source ref to a target ref using page snapshot element refs.
Instructions
Drag from one element to another
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": {
"startElement": "<startElement>",
"startRef": "<startRef>",
"endElement": "<endElement>",
"endRef": "<endRef>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endRef | Yes | Target element ref from snapshot | |
| startRef | Yes | Source element ref from snapshot | |
| endElement | Yes | Target element description | |
| startElement | Yes | Source element description |