session_status
Check a session's current state to determine if it is starting, busy, idle, or awaiting input, and see pending prompts and context percentage.
Instructions
Return state info for one session.
state is one of: missing, starting, busy, awaiting_input,
idle. When it is awaiting_input, question holds the on-screen
question and its options. pending means a dispatched prompt has not
been collected by session_wait yet. context_pct is null unless
/context output happens to be on screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |