scroll
Swipe the middle of an iPhone or iPad screen up, down, left, or right to browse lists and pages during app testing; use exact-point drags or element waits for targeted navigation.
Instructions
Scroll the content in a direction ("down" reveals content further down) with one swipe centered on the middle of the screen. Use it to browse a list or page; to scroll until a known element appears use tap_element or wait_for_element with scrollDirection, and for a drag between exact points use swipe. Doesn't report whether anything moved, and content may keep coasting; check with describe_ui or screenshot.
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": {
"direction": "<direction>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Fraction of the screen to scroll, 0.1–0.8 (default 0.5) | |
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. | |
| direction | Yes | Where to look: down reveals content further down |