babelwrap_scroll
Scroll web pages up or down by a specified amount or full viewport. Control direction, distance, and get a compact page snapshot.
Instructions
Scroll the page up or down.
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": {
"session_id": "<session_id>"
},
"name": "babelwrap_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The active session ID. | |
| direction | No | "up" or "down" (default: "down"). | down |
| amount | No | "page" (full viewport), "half" (half viewport), or pixel count as string (default: "page"). | page |
| compact | No | If True, return a compact snapshot with minimal whitespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||