list_turnouts
Discover all JMRI turnouts and their current CLOSED/THROWN state, including feedback sensor status to distinguish normal INCONSISTENT from unsettled turnouts.
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.
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": "list_turnouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||