Scroll
scrollScrolls the screen in any direction by computing a safe swipe in the middle, avoiding status and navigation bars. Use for reliable scrolling instead of raw swipe.
Instructions
Scroll the screen in a direction (computes a safe swipe in the middle of the screen, avoiding the status bar and navigation areas). Prefer this over raw swipe for scrolling.
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 screen to scroll (default 0.5) | |
| serial | No | Device serial (defaults to session or the only device) | |
| direction | Yes | 'down' reveals content below (finger moves up), 'up' reveals content above |