get_ui_elements
Discover all UI elements in the running Godot scene, returning their paths, types, positions, and text for automating interactions like clicks and inputs.
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 |
|---|---|---|---|
| filter | No | Filter by Control node type (e.g. "Button", "Label", "LineEdit") | |
| visibleOnly | No | Only return nodes where Control.visible is true (default: true). Set false to include hidden elements. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | ||
| elements | No | ||
| warnings | No |