list_turnouts
Lists every turnout in JMRI with its current CLOSED or THROWN state. Use to discover available turnouts and their positions before issuing commands.
Instructions
List every turnout known to JMRI, with its current CLOSED/THROWN state.
Use this to discover what turnouts exist before calling get_turnout/set_turnout, or to answer "what turnouts are there?"/ "which way is turnout X set?". No side effects.
Each entry includes "has_feedback_sensor" (bool). When false, that turnout has no real position sensor wired up, and a state of INCONSISTENT is its normal/expected steady state — not an anomaly. Do not flag it to the user as a problem in that case; only state="INCONSISTENT" on a turnout where has_feedback_sensor is true is worth calling out as possibly unsettled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||