codex_job_consume_result
Fetch the result of a completed Codex background job and delete its stored record. Use only when you no longer need to poll or re-read the job.
Instructions
Fetch a finished background Codex job's result and delete the stored record.
Same envelope as codex_job_result (matching the job's kind — branch on tool),
then removes completed job state. Use only when you no longer need to poll or
re-read the job. Non-done jobs are not deleted. detail works as in
codex_job_result (#56).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Response verbosity: 'summary' (default) omits the raw model text; 'full' includes it. | summary |
| job_id | Yes | The job_id returned by an *_async call (codex_*_async); recover lost ids with codex_job_list. | |
| workspace_root | No | Absolute path to the target repository root. Pass it (or rely on an MCP root) so the call targets the intended repo; otherwise it falls back to the server's own cwd and meta.workspace_warning is set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |