codex_history
Retrieve persisted conversation turns or items for owned tasks, including after an outage, using cursor paging; large records flag truncated fields.
Instructions
Page persisted turns or items for owned conversations, including after an outage. Large items identify truncated_fields; pending approval details come from codex_review_request.
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": "codex_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | turns | |
| limit | No | ||
| cursor | No | Native cursor | |
| task_id | Yes | Task id | |
| turn_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| result_version | Yes |