rm_ui_tree
Dumps a window's Swing component tree or a subtree by component ID, listing IDs, classes, text, names, tips, and bounds; use interactive_only to reduce noise.
Instructions
Dump the Swing component tree of a window (or a subtree via id). Each line: [id] Class "text" name= tip= @x,y wxh (window coords). Use interactive_only to cut noise.
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_ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Start at this component instead of the whole window | |
| window | No | Window id from rm_windows (default: active window) | |
| max_depth | No | ||
| max_nodes | No | ||
| interactive_only | No |