Swipe Screen
android_swipeSwipe an Android device screen in a chosen direction from the center or custom X/Y coordinates to navigate apps, menus, and gestures.
Instructions
Swipe in a direction. Starts from screen center by default, or from given x,y 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": {
"direction": "<direction>"
},
"name": "android_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Start X coordinate. Defaults to screen center. | |
| y | No | Start Y coordinate. Defaults to screen center. | |
| device | No | Device id (serial or host:port). Optional -- when omitted, uses ANDROID_MCP_DEVICE env or auto-selects the connected device (physical devices preferred over emulators). | |
| distance | No | Swipe distance in pixels. Defaults to ~55% of screen for center swipes, 30% for coordinate swipes. | |
| duration | No | Swipe duration in milliseconds. Defaults to 500. | |
| direction | Yes | Swipe direction |