drag_drop
Drag and drop elements by CSS selector or coordinates, with optional intent labeling for audit logs.
Instructions
Drag and drop by selector or coordinates. Pass intent="..." (≤120 chars) to label this action in audit logs.
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": {
"tabId": "<tabId>"
},
"name": "drag_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | Delay in ms between steps. Default: 10 | |
| steps | No | Intermediate drag steps. Default: 10 | |
| tabId | Yes | Tab ID | |
| intent | No | Human-readable label for this action in audit logs (≤120 chars) | |
| sourceX | No | Source X (alternative to selector) | |
| sourceY | No | Source Y (alternative to selector) | |
| targetX | No | Target X (alternative to selector) | |
| targetY | No | Target Y (alternative to selector) | |
| sourceSelector | No | Source CSS selector | |
| targetSelector | No | Target CSS selector |