codex_search_chats
Retrieve lost or archived chats by searching the MCP index and fallback sources. Supports query modes, project filtering, and snippet previews.
Instructions
Search chat history through the MCP-owned index and safe fallback sources. Use this for discovery or recovery when ids were lost. Do not use search results as proof that a turn is still active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| match_mode | No | auto | |
| project_id | No | ||
| include_archived | No | ||
| limit | No | ||
| cursor | No | ||
| include_snippets | No | ||
| snippets_per_chat | No | ||
| snippet_max_chars | No | ||
| refresh_index | No | ||
| index_time_budget_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |