Codex job status
codex_jobFetch, wait for, or cancel a codex_task or codex_image job using its job_id. Set wait_seconds to poll; set cancel to stop a running job.
Instructions
Wait for or fetch the result of a codex_task / codex_image job, or cancel it.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cancel | No | Stop the job. | |
| job_id | Yes | ||
| wait_seconds | No | Seconds to wait before returning a job_id (0-240, default 50). |