browser_scroll
Scroll a web page or a specific scrollable container by direction and pixel amount, using an element ref to target containers when needed.
Instructions
滚动页面或指定滚动容器(带 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 | 滚动该容器(快照中带 [可滚动] 标记的元素) | |
| amount | No | 滚动像素(默认 600) | |
| direction | Yes |