Scroll
scrollScroll the viewport up or down by a pixel amount to reveal page content or trigger lazy loading. Returns an updated page snapshot.
Instructions
Scroll the viewport up or down by a pixel amount. Use to reveal more of a long page or trigger lazy-loaded content; use scroll_to when you know the target element. Returns a fresh page snapshot reflecting the new scroll position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Distance to scroll in pixels (default: 500). | |
| page_id | No | Page ID. If omitted, operates on the most recently used page. | |
| direction | Yes | Direction to scroll the viewport: 'up' or 'down'. |