phone_swipe
Drag from one point to another to operate sliders, dismiss items, or perform custom gestures on an Android device.
Instructions
Drag from one point to another (sliders, swipe-to-dismiss, custom gestures). from/to take the same targets as phone_tap.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "phone_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | duration, default 300 | |
| to | Yes | ||
| from | Yes | ||
| after | No | return the updated element list afterwards (default true) | |
| settle | No | max ms to wait for the screen to stop changing before reading it (default 2500) |