scroll
Moves the page or a target element by a specified pixel amount in a chosen direction, enabling navigation to off-screen content.
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": {
"direction": "<direction>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element to scroll within | |
| amount | No | Pixels to scroll (default: 500) | |
| direction | Yes | Scroll direction |