scroll
Moves the page up or down by a set pixel amount, or brings a specified element into view.
Instructions
Scroll the page by an amount, or scroll an element into view.
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 |
|---|---|---|---|
| amount | No | Pixels to scroll when no selector is given (default: 500) | |
| selector | No | Element to scroll into view; omit to scroll the page: a ref number from get_page/navigate (e.g. "3") or a CSS selector | |
| direction | No | Scroll direction when no selector is given (default: down) |