iphone_swipe
Drag one finger between start and end coordinates to perform precise iOS gestures, including moving sliders, reordering items, revealing row actions, or pulling down notifications.
Instructions
Drag one finger from a start point to an end point.
Use it for precise drags: sliders, reordering, swiping a cell to reveal actions, pulling down the
notification area or a sheet. For plain scrolling of a list or page, iphone_scroll is simpler.
Swipes starting at the very bottom or top edge trigger iOS system gestures (home, notifications).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": "iphone_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start x in iOS points. | |
| x2 | Yes | End x in iOS points. | |
| y1 | Yes | Start y in iOS points. | |
| y2 | Yes | End y in iOS points. | |
| duration_ms | No | Duration of the movement in milliseconds (50–5000); short is a flick, long is a drag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |