opencode_get_run_status
Check the current status of a background agent run, retrieving accumulated output and exit code.
Instructions
Poll the status of a background agent run.
Returns stdout/stderr accumulated so far, status, and exit code.
Return Format
{"success": bool, "message": str, "data": {"job_id": str, "status": str, "stdout": str, "exit_code": int}}
Examples
opencode_get_run_status(job_id="abc123")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID from opencode_run_agent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||