Scroll
scrollMove through a webpage or container, jump to top or bottom, or bring an element into view; uses trusted mouse wheel events when CDP is available.
Instructions
Scroll the page or a container, jump to top/bottom, or bring an element into view. Uses trusted mouse wheel events when CDP is available.
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 |
|---|---|---|---|
| to | No | ||
| ref | No | ||
| tabId | No | ||
| amount | No | ||
| smooth | No | ||
| frameId | No | ||
| trusted | No | ||
| selector | No | ||
| direction | No | down | |
| containerRef | No | ||
| containerSelector | No |