list_turnouts
List all turnouts known to JMRI with current state and feedback sensor info. Discover available turnouts before using set_turnout or get_turnout.
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 | |||