codex_get_chat
Retrieve Codex chat content with prior history summarized by DeepSeek, returning only the latest user message and following raw messages.
Instructions
Get Codex chat content from MCP hook history, Codex transcripts, or legacy KB history fallback. The history before the latest user/orchestrator message is summarized with DeepSeek, and only the latest user/orchestrator message plus following raw Codex/tool/event messages are returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| project_id | No | ||
| range | No | ||
| include_tool_calls | No | ||
| include_tool_outputs | No | ||
| include_command_outputs | No | ||
| include_reasoning | No | ||
| include_metadata | No | ||
| include_items | No | ||
| tail_max_messages | No | ||
| tail_max_chars | No | ||
| force_refresh_summary | No | ||
| response_budget_chars | No | ||
| format | No | structured |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |