Scroll page
scroll_pageScroll a webpage up or down by a percentage of the viewport to load lazy-loaded content and trigger infinite scroll, with feedback on actual movement and page end.
Instructions
Scroll the page up or down by a percentage of the viewport.
The way to trigger lazy-loaded content and infinite scroll; take a fresh take_snapshot afterwards to see what was added.
The response reports how far the page actually moved and whether the end has been reached, so a scroll loop has something to stop on: "did not move" means you are at the end, and a page height that keeps growing means more content is still loading.
To bring one known element into view, scroll_to_selector is more precise.
click already scrolls to its target, so no scrolling is needed before it.
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | How far to scroll, as a percentage of the viewport height — 25 is a quarter screen, 100 a full screen. | |
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| direction | No | Direction to scroll. | down |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |