Scroll
scrollMove the page by direction or pixel amount, jump to top or bottom, or bring a referenced element into view using humanized wheel events.
Instructions
Scroll the page by direction/amount, to the top/bottom, or bring an element into view. Humanized wheel events by default.
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 from the latest snapshot, e.g. e12. Preferred over selectors. | |
| amount | No | Pixels (default 600). | |
| selector | No | CSS selector (use when no ref is available). | |
| direction | No |