drag-element
Drag a web element from one location to another using CSS selectors to automate browser interactions through the AdsPower LocalAPI MCP Server.
Instructions
Drag the 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": {
"selector": "<selector>",
"targetSelector": "<targetSelector>"
},
"name": "drag-element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | The selector of the element to drag, find from the page source code | |
| targetSelector | Yes | The selector of the element to drag to, find from the page source code |