Scroll page
scrollMove the page vertically by a pixel amount to reach content below the fold or trigger lazy loading, and return the resulting vertical position.
Instructions
Scroll the page vertically by a pixel amount.
Use to reach content below the fold or to trigger lazy loading. To reach one known element instead, scroll_to_element is more reliable. Scrolls with a synthesized wheel gesture, as a user would. Returns the vertical scroll position afterwards.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id from list_tabs or new_tab to act on, instead of the active tab. The active tab does not change. Omit to use the active tab. Example: 'tab_2' | |
| amount | No | Distance to scroll in CSS pixels. Example: 500 | |
| direction | No | Direction to scroll the page. Example: 'down' | down |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Selector scrolled to, if any. | |
| summary | Yes | One line saying what happened. | |
| scroll_y | No | Vertical scroll position afterwards. |