Drag in sandbox
sandbox_dragDrag between two coordinates to select grid ranges, move sliders, adjust file lists or splitters; optionally map points to the latest screenshot.
Instructions
Mouse-down at (x1,y1), animated move to (x2,y2), mouse-up — for grid selection, sliders, file lists and splitter moves. By default raw sandbox screen pixels; with coordinates='screenshot', pixels in the most recent sandbox_screenshot (or the one named by captureId); both endpoints are mapped.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "sandbox_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| captureId | No | ||
| durationMs | No | Gesture duration (default 400). | |
| coordinates | No |