browser_drag
Simulate drag-and-drop between two elements on a web page using source and target references from a page snapshot.
Instructions
Perform drag and drop between two elements
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 | Exact target element reference from the page snapshot | |
| snapshot | No | Also return the page snapshot after the action (default: no). Use it when you need to see the result right away. | |
| startRef | Yes | Exact source element reference from the page snapshot | |
| endElement | Yes | Human-readable target element description used to obtain the permission to interact with the element | |
| startElement | Yes | Human-readable source element description used to obtain the permission to interact with the element |