browser_scroll
Scroll the page with the mouse wheel by pixel offsets or bring an element into view. Use it to reveal off-screen content, then optionally return a snapshot.
Instructions
Scroll the page with the mouse wheel by a number of pixels, or scroll an element from the snapshot 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 | Element to scroll into view instead | |
| deltaX | No | Horizontal pixels; positive scrolls right | |
| deltaY | No | Vertical pixels; positive scrolls down | |
| element | No | Human-readable element description used to obtain permission to interact with the element | |
| snapshot | No | Also return the page snapshot after the action (default: no). Use it when you need to see the result right away. |