codex_poll
Poll an asynchronous codex job to check its status and retrieve output. Use the job ID from codex_start to get real-time updates and trailing lines of output.
Instructions
Poll the status and output of a running (or finished) codex job.
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_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by codex_start. | |
| tail_lines | No | How many trailing lines of output to return. Default: 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||