Scroll
scrollMove a list or container up, down, left, or right on an Android screen by targeting the container ref itself, not an inner row; use swipe if no ref exists.
Instructions
Scroll a list/container up, down, left, or right. ref must be the
ref of the scrollable container itself (a ScrollView or List line in the
snapshot), not of a row inside it: scrolling a single row does nothing.
If the container has no ref, use swipe() instead.
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>",
"ref": "<ref>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| device | No | ||
| direction | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||