android_swipe
Perform swipe gestures on Android devices by specifying start and end coordinates, enabling navigation, scrolling, and interaction simulation.
Instructions
Perform a swipe gesture between two coordinates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startX | Yes | Starting X coordinate | |
| startY | Yes | Starting Y coordinate | |
| endX | Yes | Ending X coordinate | |
| endY | Yes | Ending Y coordinate | |
| duration | No | Swipe duration in milliseconds (default: 300) | |
| deviceSerial | No | Specific device serial number to target (optional) |
Input Schema (JSON Schema)
{
"properties": {
"deviceSerial": {
"description": "Specific device serial number to target (optional)",
"type": "string"
},
"duration": {
"default": 300,
"description": "Swipe duration in milliseconds (default: 300)",
"type": "number"
},
"endX": {
"description": "Ending X coordinate",
"type": "number"
},
"endY": {
"description": "Ending Y coordinate",
"type": "number"
},
"startX": {
"description": "Starting X coordinate",
"type": "number"
},
"startY": {
"description": "Starting Y coordinate",
"type": "number"
}
},
"required": [
"startX",
"startY",
"endX",
"endY"
],
"type": "object"
}