Find a control, input or panel
find_uiFind visible buttons, links, labels, and inputs by text or input name, returning references for clicking or interacting; optionally inspect a DOM subtree or list overlay panels.
Instructions
Find visible controls (buttons, links, labels, inputs) by text and/or input name; returns refs for click_ui/interact. Pass selector to inspect one DOM subtree, or discover:true to list overlay panels (mod GUIs).
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": "find_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter: button, link, label, input, radio, checkbox, select, textarea. | |
| name | No | Filter by input name attribute (exact). | |
| text | No | Label text to search (case-insensitive, partial). | |
| exact | No | Require an exact label match. | |
| limit | No | Max matches (default 20). | |
| game_id | No | Session id from open_game. Omit when a single game is open. | |
| discover | No | List overlay panels with buttons or file inputs. | |
| selector | No | Inspect this DOM subtree instead of text search. |