Scroll
scrollMove the view up, down, left, or right by lines to bring off-screen content into view before inspecting or capturing the app state. It only moves content; nothing is clicked or selected.
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). | |
| state_query | No | With return_state, list only elements whose role, label or value contains this text, like get_app_state's query | |
| return_state | No | After acting, wait briefly for the UI to settle and append a fresh get_app_state of the app you last read, so you can check the result and pick the next target in the same call. Its ids replace every earlier id. |