Find a control by text
find_uiSearch visible buttons, links, labels, and inputs by text or name to get refs for click, interact, and upload actions, including items beyond the 40-item window.
Instructions
Search visible controls (buttons, links, labels, inputs) by label text and/or input name; returns refs usable with click_ui(ref), interact(ref, value) and upload_file(ref). This is the fastest way to reach radio/checkbox options (e.g. "Jet black", "Punch") and any input beyond the 40-item observation window. Results are capped by limit; no game state changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by kind: button, link, label, input, radio, checkbox, select, textarea. | |
| name | No | Filter by input name attribute (exact). | |
| text | No | Label text to search for (case-insensitive, partial by default). | |
| exact | No | Require an exact label match (default false). | |
| limit | No | Max matches to return (default 20). | |
| game_id | Yes | Session id returned by open_game. |