rm_scroll
Scrolls the mouse wheel over a specified UI component or screen point to move content, with positive amounts scrolling down and negative amounts scrolling up.
Instructions
Mouse-wheel scroll over a component or point. amount>0 scrolls down, <0 up.
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": "rm_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X in window coordinates (pixels of an unscaled rm_screenshot) | |
| y | No | Y in window coordinates | |
| id | No | Component id from rm_ui_tree / rm_ui_find | |
| name | No | Match Swing component name | |
| text | No | Match visible text / label (substring, case-insensitive) | |
| class | No | Match Java class name, e.g. JButton, JTree | |
| exact | No | Exact (not substring) text match | |
| index | No | Which match to use when several match (0-based) | |
| scale | No | If x/y come from a scaled screenshot, pass that scale | |
| amount | No | ||
| window | No | Window id from rm_windows (default: active window) | |
| tooltip | No | Match tooltip text | |
| modifiers | No |