Scroll
scrollMove the viewport up or down by a pixel amount to reveal more of a long page or trigger lazy-loaded content. Returns a page snapshot with the new position.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"direction": "<direction>"
},
"name": "scroll"
}
}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'. |