scroll
Move the mouse wheel up, down, left, or right by set notches at the pointer or specified coordinates to navigate content in a sandboxed desktop.
Instructions
Scroll the wheel. Say where: direction='down'|'up'|'left'|'right' with amount notches
(sign ignored) — or the signed form: positive = up (or left), negative = down (or right).
Returns {"ok", "action", "instance", "detail", "applied", "clamped", "axis", "direction"}. One unit ≈ one wheel
notch (a few lines); at most 100 notches per call ("clamped": true when you asked for more,
"applied" says how many were sent). Scrolling targets the window under the pointer — pass
x,y to move there first (both >= 0), otherwise the current pointer position is used.
axis='horizontal' scrolls sideways (wheel buttons 6/7). Fails (isError) on amount=0 (a
no-op), a dead instance, off-screen x,y or an unknown axis. observe/settle_ms: see click().
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 |
|---|---|---|---|
| x | No | ||
| y | No | ||
| axis | No | vertical | |
| amount | No | ||
| observe | No | none | |
| instance | No | ||
| direction | No | ||
| settle_ms | No | ||
| observe_region | No |