scroll
Move the page or a selected element by specified horizontal and vertical pixel amounts to reach off-screen content in a browser tab.
Instructions
Scroll the page or a specific element
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": {
"y": "<y>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Horizontal scroll amount in pixels | |
| y | Yes | Vertical scroll amount in pixels | |
| tabId | No | Tab ID (optional) | |
| selector | No | CSS selector to scroll (optional, defaults to page) |