chrome_drag
Simulate a mouse drag between two page elements or coordinates in Chrome, using pointer input to trigger drag-and-drop interactions.
Instructions
Drag from one uid/selector/point to another using Chrome pointer input.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chrome_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | No | ||
| toY | No | ||
| fromX | No | ||
| fromY | No | ||
| steps | No | Default 12. | |
| toUid | No | ||
| fromUid | No | ||
| targetId | No | Chrome tab id to target. | |
| background | No | If true, avoid explicit Chrome focus/tab activation (default). Pass false to allow foreground work. | |
| toSelector | No | ||
| urlIncludes | No | Match the target tab by URL substring. | |
| fromSelector | No | ||
| titleIncludes | No | Match the target tab by title substring. |