Check a background Codex job
codex_job_statusCheck a background run's current state with its job ID: whether it is running, exit code, elapsed time, and event count.
Instructions
Report the state of a run that moved to the background: whether it is still running, its exit code, how long it has taken and how many events it has produced.
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": "codex_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id returned by a tool call that went to the background. |