scroll
Moves the main document in a specified Chrome tab by direction and pixel amount, then reports before/after movement.
Instructions
One main-document native wheel input. CSS pixels; reports before/after movement, not lazy-load completeness. Inner panes unsupported.
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": {
"tab_id": "<tab_id>",
"direction": "<direction>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| tab_id | Yes | Exact stable tab_id; no implicit tab selection. | |
| timeout | No | Phase timeout in milliseconds (10000; download 120000). | |
| direction | Yes |