scroll
Move a web page's visible area by horizontal or vertical pixel amounts, or reveal a target element within the open browser tab.
Instructions
Scroll the page by dx/dy pixels (positive dy = down, positive dx = right), or scroll an element into view when selector is given.
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 |
|---|---|---|---|
| dx | No | Pixels to scroll horizontally (default 0) | |
| dy | No | Pixels to scroll vertically (default 600) | |
| tabId | No | ||
| selector | No | Scroll this element into view instead |