scroll
Reposition the page viewport in any direction and receive an updated snapshot for the active session.
Instructions
Scroll the page, then return a new snapshot.
Args: direction: up, down, left, or right amount: pixels to scroll (default 500) session_id: Session to act on (default: "default")
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 |
|---|---|---|---|
| amount | No | ||
| direction | No | down | |
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |