get_codex_task
Retrieve the status, final answer, and provider-reported token usage for a previously submitted task; check completion before treating queued or running tasks as finished.
Instructions
Retrieve status, final answer and provider-reported token usage for a previously submitted task. Do not treat queued/running as completed.
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": {
"task_id": "<task_id>"
},
"name": "get_codex_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |