scroll_to
Scroll a specified element into the center of the Firefox viewport using its element reference, making it visible for inspection or interaction.
Instructions
Scroll an element (by ref) into the centre of the viewport.
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": {
"tabId": "<tabId>",
"ref": "<ref>"
},
"name": "scroll_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from read_page or find, e.g. ref_12 or f1:ref_3 (f1 = inside frame 1) | |
| tabId | Yes | Tab id from tabs_context |