android_drag
Drag between two points on an Android device using absolute pixel or normalized 0..1000 coordinates. Simulate swipes, scrolls, or drag-and-drop actions with configurable duration.
Instructions
Drag between two points using absolute pixels or normalized 0..1000 coordinates.
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": "android_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| nx1 | No | ||
| nx2 | No | ||
| ny1 | No | ||
| ny2 | No | ||
| durationMs | No |