chrome_drag_drop
Simulates a mouse drag between two coordinates in a Chrome tab, enabling AI agents to perform drag-and-drop actions through the DevTools Protocol.
Instructions
Drag from one point to another
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": {
"fromX": "<fromX>",
"fromY": "<fromY>",
"toX": "<toX>",
"toY": "<toY>"
},
"name": "chrome_drag_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | Yes | ||
| toY | Yes | ||
| fromX | Yes | ||
| fromY | Yes | ||
| tabId | No |