scroll
Scroll pages, containers, or elements into view, report content growth to detect lazy-loaded items, and wait for settle timing to ensure stable automation.
Instructions
Scroll the page, a container, or an element into view. Reports the position and content growth (scrollHeight delta — detects lazy-loaded content) and handles settle timing. Use container_ref/container_selector plus direction to scroll inside a container.
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 |
|---|---|---|---|
| ref | No | Element ref to scroll into view | |
| amount | No | Pixels per scroll (default 500); only with direction | |
| selector | No | CSS selector to scroll into view | |
| direction | No | up or down (default down); used when no ref/selector | |
| container_ref | No | Scrollable container ref (scrolls it, not the page) | |
| container_selector | No | Scrollable container CSS selector |