iphone_swipe
Performs a swipe between normalized coordinates on a connected iPhone with a configurable duration to automate touch gestures; avoid starting at the bottom edge to prevent iOS system gestures.
Instructions
Drag from (x,y) to (x1,y1), normalised 0.0–1.0. Avoid starting at the very bottom edge: iOS reads that as a system gesture and leaves the app.
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": {
"x": "<x>",
"y": "<y>",
"x1": "<x1>",
"y1": "<y1>"
},
"name": "iphone_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| ms | No | Gesture duration (default 300). | |
| x1 | Yes | ||
| y1 | Yes |