browser_scroll
Scroll a page by pixels, jump to top or bottom, or bring a specific element into view using refs, text, or CSS selectors to control what the browser displays.
Instructions
Scroll by pixels or to top/bottom, or bring 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": "browser_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Pixels down (negative: up) | |
| to | No | top or bottom | |
| ref | No | ref from browser_snapshot | |
| text | No | Visible text/label, instead of ref | |
| state | No | true: full page state | |
| selector | No | CSS selector, instead of ref | |
| snapshot | No | Snapshot after the action |