get_kill_switch
Check if trading is halted and retrieve the kill-switch reason and duration from the runtime snapshot. Read-only status lookup; use set_kill_switch to change state.
Instructions
Read kill-switch state from the runtime state snapshot. Returns {active, reason, since_ns}. Use this for 'is trading halted' / 'why was the kill switch tripped'. When no engine has written a snapshot, returns the idle response with active=false (there is no live trading to halt). Read-only — to flip the switch use set_kill_switch.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_path | No | Override snapshot path. |