scroll
Scroll a web page by direction and pixel amount, or jump to a specific viewport page number.
Instructions
Scroll to specific viewport page or by direction with pixel amount
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Scroll direction | |
| page | No | Scroll to a specific viewport-sized page number | |
| pixels | No | Number of pixels to scroll |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| innerHeight | Yes | Viewport height in pixels | |
| scrollHeight | Yes | Total scrollable content height in pixels | |
| scrollOffset | Yes | Current scroll offset from the top in pixels | |
| pages | Yes | Number of viewport-sized pages |