scroll
Moves the page viewport in a chosen direction or brings a referenced element into view, with an optional pixel distance.
Instructions
滚动页面。指定 ref 时把该元素滚动到可见;否则按方向滚动页面(amount 为像素,默认一屏的 80%)。
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": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| amount | No | ||
| direction | No |