browser_scroll
Scroll an element into view by providing a CSS selector, or scroll the window to specified x and y coordinates.
Instructions
Scroll an element into view (pass selector), or scroll the window to coordinates (pass x and y). Provide a selector OR x+y, not both.
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 | Window scroll-x in pixels (used when no selector). | |
| y | No | Window scroll-y in pixels (used when no selector). | |
| selector | No | CSS selector to scroll into view. Omit to scroll the window instead. |