desktop_mouse_wheel
Scroll vertically or horizontally at absolute screen coordinates and apply modifier keys for precise desktop UI navigation.
Instructions
agent-desktop mouse-wheel: Scroll the mouse wheel at absolute coordinates (requires --headed)
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>"
},
"name": "desktop_mouse_wheel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Absolute X coordinate for wheel event; write a negative value with = (--x=-100) | |
| y | Yes | Absolute Y coordinate for wheel event; write a negative value with = (--y=-100) | |
| dx | No | Horizontal wheel lines; positive scrolls right, negative scrolls left | |
| dy | No | Vertical wheel lines; positive scrolls up, negative scrolls down (default -3 when --dx is absent, else 0) | |
| modifiers | No | Held modifiers: shift, meta, ctrl, alt (repeatable; cmd is accepted) |