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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID (defaults to active session). |