Scroll the page
browser_scrollScrolls web pages or specific elements by direction or pixel amount, and reports when the scroll boundary is reached.
Instructions
Scroll the page or an element. ONE round-trip (no synthetic wheel events), and it reports whether you hit the end.
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 |
|---|---|---|---|
| x | No | Absolute scrollLeft (overrides direction) | |
| y | No | Absolute scrollTop (overrides direction) | |
| amount | No | Pixels to scroll (default 400) | |
| target | No | Element ref or CSS selector to scroll (default: the page) | |
| direction | No | Direction to scroll (default down) | down |