Find widgets
findLocate widgets in a Limoni TUI app's semantic tree by role, label, value, or ID; returns every match with its subtree, and no match is not an error.
Instructions
Returns every widget matching a selector, with its subtree. An empty result is not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The widget's ID, exactly as shown after # in the tree. | |
| nth | No | Which match to use when several qualify, 0-based; negative counts from the end. | |
| role | No | The semantic role. | |
| label | No | The label, matched exactly. | |
| value | No | The current value, matched exactly — for example the selected item of a list. | |
| label_contains | No | A substring of the label, for labels that carry live data. |