scroll
Moves the page or window to reveal off-screen content, then returns a fresh observation. Use when the needed element is outside the current view.
Instructions
Scroll the page or the focused window to reveal more content, then return a fresh observation.
Use when the element you need is not in the tree yet; the browser observer only lists elements inside the viewport.
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 | Optional ref of a scrollable element to scroll over; defaults to the whole page or window. | |
| direction | No | 'down' or 'up'. | down |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |