rm_screenshot
Capture the active AI Studio window or a specific UI component as a PNG/JPG image to inspect layout and controls, including on Wayland.
Instructions
Screenshot an AI Studio window (default: active) or a single component. Rendered from inside the app, so it works on Wayland. Coordinates in the image = window coordinates when scale=1.
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | Image scale; pass the same scale to rm_click/rm_drag when using x/y | |
| format | No | jpg | |
| window | No | Window id from rm_windows (default: active window) | |
| tooltip | No | Match tooltip text |