swipe
Simulate a finger drag on a leased Android emulator, moving from start coordinates to end coordinates over a specified millisecond duration.
Instructions
Swipe from one point to another over ms milliseconds (1 to 10000).
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": {
"phone": "<phone>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| phone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |