scroll
Scroll a connected Android device at a given position by specifying horizontal and vertical amounts. Enables precise scrolling control for UI automation.
Instructions
Scroll at the specified position. dx and dy are scroll amounts (-1 to 1 range approximated for ADB).
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": {
"x": "<x>",
"y": "<y>",
"dx": "<dx>",
"dy": "<dy>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate to scroll at | |
| y | Yes | Y coordinate to scroll at | |
| dx | Yes | Horizontal scroll amount (negative=left, positive=right) | |
| dy | Yes | Vertical scroll amount (negative=up, positive=down) | |
| serial | No | Device serial number |