scroll
Adjust page position by pixel offsets or bring a specific element into view using its CSS selector.
Instructions
Scroll the page or scroll an element into view
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 |
|---|---|---|---|
| x | No | Horizontal scroll offset in pixels | |
| y | No | Vertical scroll offset in pixels | |
| selector | No | CSS selector for element to scroll into view |