Scroll page or element
browser_scrollScroll a webpage or scrollable container up, down, left, right, to top or bottom, or bring a target element into view by selector or ref.
Instructions
Scroll the page or a scrollable container in a direction (up, down, left, right, top, bottom), or scroll a target 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": "browser_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional element ref to scroll into view or scroll inside. | |
| tabId | No | Controlled tab id. | |
| amount | No | Pixel distance for up/down/left/right scrolling (default 500). | |
| selector | No | Optional CSS selector to scroll into view or scroll inside. | |
| direction | No | Scroll direction (if omitted with ref/selector, scrolls element into view). |