Swipe Android UI
android_swipeExecute a swipe gesture on an Android device screen from one coordinate to another. Specify start and end points, with optional duration for precise control.
Instructions
Perform a swipe gesture between two screen coordinates.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "android_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| serial | No | ADB device serial. Required when multiple devices are connected. | |
| durationMs | No |