swipe
Simulates a finger gesture from a start point to an end point on a real iPhone, optionally pressing and holding first to drag. Use it to navigate screens or move UI elements during iOS automation.
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 |