opencode_status
Check the current state of an OpenCode session—running, idle, waiting_input, stale, done, error, contract_violated, or starting—to determine if tasks are progressing or need attention.
Instructions
Returns the current status of a session: running, idle, waiting_input, stale, done, error, contract_violated, or starting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID (defaults to active session). |