browser_drag
Drag an element to another element using CSS selectors to simulate drag-and-drop interactions in browser automation.
Instructions
Drag 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": {
"fromSelector": "<fromSelector>",
"toSelector": "<toSelector>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toSelector | Yes | Target element selector | |
| fromSelector | Yes | Source element selector |