Scroll
scrollMove through a page or container, jump to top/bottom, or bring an element into view using trusted mouse wheel events when 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 |