list_signals
Retrieve all JMRI signal masts and their current aspects. Use to identify existing signals before setting or querying them.
Instructions
List every signal mast known to JMRI, with its current aspect.
Use to discover what signal masts exist before calling get_signal/set_signal, or to answer "what signals are there?"/ "what aspect is signal X showing?". No side effects.
A signal mast is a trackside signal (e.g. German Hauptsignal), distinct from a turnout (switch/points) or a layout light (scenery) — don't confuse with set_turnout/set_light. Only covers signalMast objects, not JMRI's lower-level signalHead objects (rarely used directly once a mast is configured).
"aspect" is a name like "Hp0"/"Hp1"/"Hp2" (German Hauptsignal) or a different vocabulary depending on the mast's configured signal system — aspect names are never hardcoded/translated, just passed through from JMRI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||