swipe
Swipe or scroll between points on an iOS Simulator screen. Specify a direction from center or provide custom start and end coordinates.
Instructions
Swipe/scroll from one point to another. Either give a direction (auto-computed from screen center) or explicit from/to coordinates.
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 |
|---|---|---|---|
| direction | No | ||
| from_x | No | ||
| from_y | No | ||
| to_x | No | ||
| to_y | No | ||
| duration_sec | No | ||
| udid | No | Target simulator UDID. Defaults to the booted sim. |