adb_swipe
Swipe between coordinates on an Android screen. Set start/end points, duration, and device ID for automated gestures.
Instructions
Swipe from one point to another on the screen
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": {
"startX": "<startX>",
"startY": "<startY>",
"endX": "<endX>",
"endY": "<endY>"
},
"name": "adb_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | Yes | Ending X coordinate | |
| endY | Yes | Ending Y coordinate | |
| startX | Yes | Starting X coordinate | |
| startY | Yes | Starting Y coordinate | |
| deviceId | No | Target device ID (optional) | |
| durationMs | No | Duration in milliseconds (default 300) |