browser_scroll
Scrolls the viewport or nearest scrollable ancestor of a referenced element, with direction and optional page, top/bottom, or pixel amount controls.
Instructions
Scroll the viewport or the nearest scrollable ancestor of a ref.
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 |
|---|---|---|---|
| ref | No | Optional element ref inside target scroll container | |
| amount | No | Amount: "page", "to-top", "to-bottom", or pixel count | |
| direction | Yes | Scroll direction |