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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "session_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |