discover_object_names
Navigate to an object pool by keyword, index, or dot path to retrieve every object name, so you can build wildcard patterns for matching in list, info, or label commands.
Instructions
Navigate to an object pool and return all object names for wildcard pattern building.
This is the first step in the discover-names → derive-pattern → wildcard-command
workflow. The returned names can be used directly with list_objects(),
info(), label(), etc. by passing them as the ``name`` argument with
``match_mode="literal"`` (exact match) or deriving a ``*``-pattern and
using ``match_mode="wildcard"``.
CD scope covered
----------------
Any destination accepted by navigate_console() works here:
- Keyword form: "Group", "Sequence", "Preset", "Macro", "Effect", …
- Numeric index: "22" (Groups), "25" (Sequences), "17" (Presets), …
- Dot-notation: "10.3" (LiveSetup/FixtureTypes)
Object pool destinations (cd 1–42 that have named user objects):
Group=22, Sequence=25, Preset=17, Macro=13, Effect=24, Gel=16, World=18,
Filter=19, Form=23, Timer=26, Layout=38, Timecode=35, Agenda=34,
UserProfile=39, Remote=36.
System-config branches (cd 1=Showfile, cd 2=TimeConfig, cd 3=Settings,
cd 4=DMX_Protocols, …) hold property nodes, not named user objects — they
return empty names and are not useful for wildcard matching.
After this call the console is left at root (cd /).
Args:
destination: Object pool to inspect. Any format accepted by
navigate_console: keyword ("Group"), numeric index ("22"),
or dot path ("10.3").
Returns:
str: JSON with destination, entries (id + name), names_only list,
and a wildcard_tip suggesting how to build a pattern.
Example workflow::
discover_object_names("Group")
# → names: ["Mac700 Front", "Mac700 Back", "Wash", "ALL LASERS"]
# Derive prefix pattern and use with list_objects:
# list_objects("group", name="Mac700*", match_mode="wildcard")
# → "list group Mac700*"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"destination": "<destination>"
},
"name": "discover_object_names"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |