Swipe
phone_swipeDrags a finger between two screen coordinates to perform custom swipes and gestures that standard scrolling cannot handle.
Instructions
Drag a finger from one point to another (screenshot pixels). For gestures that scrolling does not cover.
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": "phone_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| serial | No | Which device to use. Only needed when several are connected. | |
| duration_ms | No | Default 300. |