get_ui_elements
Discover UI Control nodes in the scene tree for click simulation. Returns positions, sizes, types, and text content.
Instructions
Walk the running scene tree and return all Control nodes with positions, sizes, types, and text content. Always call this before simulate_input click_element actions to discover valid element names and paths. Requires an active runtime session (run_project or attach_project). visibleOnly defaults true; pass false to include hidden Controls. filter narrows by class. Returns: elements[] with path/type/rect/visible plus optional text/disabled/tooltip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visibleOnly | No | Only return nodes where Control.visible is true (default: true). Set false to include hidden elements. | |
| filter | No | Filter by Control node type (e.g. "Button", "Label", "LineEdit") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | No | ||
| warnings | No | ||
| tip | No |