scroll_to_element
Scrolls to bring a specified element into view, raising an error if the element is not found.
Instructions
Scroll to bring an element into view, or raise if it's missing.
Honest success / failure reporting: if no element matches the
selector we raise ``ElementNotFoundError`` instead of silently
no-op'ing with a fake "Scrolled to: ..." message.
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": {
"selector": "<selector>"
},
"name": "scroll_to_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |