swipe
Simulate a touch gesture from start to end on an Android device or emulator, optionally holding first to drag, then wait for the UI to settle.
Instructions
Swipe from start to end (handles or "x,y"). Set hold_ms > 0 to press first, i.e. drag.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| hold_ms | No | ||
| duration_ms | No | ||
| max_wait_ms | No | ||
| observe_after | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |