browser_scroll
Scrolls the page or a hovered scrollable container using trusted mouse-wheel events at the current cursor position, then returns the post-scroll state.
Instructions
Scroll the page with a trusted mouse-wheel event dispatched at the current cursor position — works on scrollable containers under the cursor, not just the window. One unit ≈ 120px (a standard wheel notch); 3-5 covers a typical viewport. The cursor position is wherever the last click/hover left it (defaults to page center), so scroll after hovering the container you want to scroll. Returns the post-scroll state: newly revealed elements appear in the diff.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"direction": "<direction>"
},
"name": "browser_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Wheel notches — 1 ≈ 120px | |
| direction | Yes | Scroll direction |