Scroll
scrollBring an element into view or move the page up, down, left, or right by pixels or about a screen.
Instructions
Scroll smoothly: either bring an element (ref) into view, or scroll the page in a direction, by amount pixels or most of a screen.
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 |
|---|---|---|---|
| ref | No | Scroll this element into view. Give either ref or direction. | |
| amount | No | Pixels to scroll with direction (default: most of a screen). | |
| direction | No | Scroll the page this way. Give either ref or direction. |