scroll
Scroll the mouse wheel at exact screen coordinates to control GUI apps during automation. Specify direction and click amount to move content without touching the user's cursor.
Instructions
Scroll the mouse wheel at screen coordinates.
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": {
"x": "<x>",
"y": "<y>",
"direction": "<direction>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | screen pixel x | |
| y | Yes | screen pixel y | |
| amount | No | wheel clicks, default 3 | |
| screen | No | screen name; optional when the session owns exactly one screen | |
| direction | Yes | up, down, left or right | |
| settle_ms | No | delay before that screenshot, default 150 | |
| screenshot_after | No | return a screenshot after the action (default false) |