opencode_get_run_status
Poll the status of a background agent run.
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")
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": {
"job_id": "<job_id>"
},
"name": "opencode_get_run_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID from opencode_run_agent |