adb_swipe
Perform screen swipes on Android devices by defining start and end coordinates. Specify swipe duration and device ID to automate touch interactions via ADB MCP Server.
Instructions
Swipe from one point to another on the device screen
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deviceId | No | Device ID (optional) | |
duration | No | Swipe duration in milliseconds (default: 300) | |
x1 | Yes | Start X coordinate | |
x2 | Yes | End X coordinate | |
y1 | Yes | Start Y coordinate | |
y2 | Yes | End Y coordinate |