browser_scroll
Scrolls the browser page vertically by a specified pixel amount or to a target element, enabling navigation through page content.
Instructions
滚动页面。支持方向滚动或滚动到指定元素。
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 | 滚动像素数(up/down),默认 500 | |
| selector | No | 滚动到元素位置(优先级高于 direction) | |
| direction | Yes | 滚动方向 |