scroll_to
Bring a specific element into view using a selector or reference, choosing alignment start, center, end, or nearest. Solves precise on-page positioning when pixel scrolling isn't enough.
Instructions
Scroll a specific element into view (the page-level scroll tool only moves by pixels).
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_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| block | No | center | |
| selector | No |