previewapk_swipe
Simulate a swipe gesture on a cloud Android device by specifying start and end coordinates as 0–1 fractions, with optional duration.
Instructions
Swipe from (x1,y1) to (x2,y2), 0..1 fractions. duration_ms optional (default 300).
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "previewapk_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| device | No | ||
| duration_ms | No |