codex_search_chats
Search Codex chats by keywords, multiple terms, or exact phrases; returns ranked matches without full transcripts.
Instructions
Search Codex chats across projects by keywords, multiple terms, or exact phrases using the MCP-owned FTS index over hook history, transcripts, and legacy KB history. Returns ranked chat matches, not full transcripts, and never calls DeepSeek.
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 |