swipe
Swipes a direction or path on an iOS device screen. Uses duration in milliseconds to prevent lock traps; resnapshot after swipe unless disabled.
Instructions
Swipe direction or path. Prefer durationMs (e.g. 280). Agent uses seconds; duration>10 is treated as ms (avoids 280→280s lock traps). Clamped ~0.15–2.5s. resnapshot default true (feed browse: set false then one snapshot).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x0 | No | ||
| x1 | No | ||
| y0 | No | ||
| y1 | No | ||
| duration | No | Seconds if ≤10; values >10 treated as ms. Prefer durationMs. | |
| direction | No | ||
| durationMs | No | Preferred: milliseconds, e.g. 280 → ~0.28s | |
| resnapshot | No | Default true |