session_get
Check a session's current status (idle, running, rescheduling, or terminated) and view token usage. Identifies when an agent is waiting for a tool confirmation.
Instructions
Get a session's current status and token usage.
Status is one of: idle (waiting for input — done with its turn), running
(working), rescheduling (retrying), terminated (ended on error). When idle
with a stop_reason of requires_action, the agent is waiting on a tool
confirmation — use session_respond.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||