browser_drag_drop
Drag one page element onto another by specifying CSS selectors for the source and target to automate drag-and-drop actions in Chrome or Chromium.
Instructions
Perform a drag-and-drop operation between two elements identified by CSS selectors
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": {
"sourceSelector": "<sourceSelector>",
"targetSelector": "<targetSelector>"
},
"name": "browser_drag_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceSelector | Yes | CSS selector of the drag source | |
| targetSelector | Yes | CSS selector of the drop target |