Scroll
scrollBring off-screen content into view by moving up, down, left, or right by a defined number of lines, optionally over a specific element, before capturing the UI state or taking a screenshot.
Instructions
Scroll up, down, left or right by a number of lines, over element_id when given so the right pane scrolls. Use it to bring off-screen content into view before get_app_state or screenshot. It only scrolls; nothing is clicked or selected. On macOS it scrolls the target app in the background without moving the user's pointer. On Windows and Linux, without element_id it scrolls whatever is under the user's pointer, and an element with no background route gets the real pointer moved onto it (the result then says via cursor).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Screen x to scroll over. Remote control only: the pointer moves there first. Ignored otherwise. | |
| y | No | Screen y to scroll over. Remote control only: the pointer moves there first. Ignored otherwise. | |
| amount | No | Number of scroll lines, 1 to 100 (default 5) | |
| direction | No | Scroll direction (default down) | |
| element_id | No | Element to scroll, from get_app_state; the nearest scrollable area around it moves. Omit to scroll the last inspected app (macOS) or whatever is under the pointer (Windows, Linux). |