scroll
Move the current page or a specified element up, down, left, or right by 100px ticks, or bring a referenced element into view in Firefox.
Instructions
Scroll the page (or a ref element) up/down/left/right by amount ticks (100px each). With only ref, scrolls it into view.
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 | Element ref (ref_N) from read_page or find. | |
| tabId | No | Tab to act on. Omit for the active tab. | |
| amount | No | ||
| direction | No |