flightlog_search
Search past Claude Code conversations to recall decisions, plans, code discussions, and debugging sessions using full-text search across all sessions.
Instructions
Search YOUR past Claude Code conversations — every message, tool call, and thinking block from previous sessions. Use this to recall decisions, plans, code discussions, debugging sessions, or anything discussed in prior conversations that you no longer have in context. Returns matching snippets with session IDs and timestamps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Filter by message role | |
| limit | No | Max results to return (default 20) | |
| query | Yes | Search terms to find in past conversations (e.g. "auth migration", "wave monitor", "database schema") | |
| date_to | No | ISO date string, inclusive upper bound | |
| include | No | Array of extra field keys to add to each result. Valid keys: "token_counts" (adds input_tokens, output_tokens, cache_read_tokens, cache_creation_tokens), "version" (Claude Code version string), "uuid" (message ID), "cwd" (working directory). Example: ["token_counts", "version"]. Default results already include session_id, project, timestamp, role, model, git_branch, block_type, tool_name, snippet — use this parameter only when you need fields beyond those. | |
| project | No | Filter by project path (substring match) | |
| date_from | No | ISO date string, inclusive lower bound | |
| tool_name | No | Filter to blocks from a specific tool (e.g. "Read", "Bash", "Edit") | |
| block_type | No | Filter to a specific block type: text, thinking, tool_use, tool_result, or user_text | |
| session_id | No | Filter to a specific session | |
| snippet_length | No | Max characters per snippet (default 300). If a result ends with "..." it was truncated — use 0 to return full content with no truncation, or a larger value like 5000. Use flightlog_get_session for full transcripts. | |
| exclude_block_types | No | Exclude block types from results (e.g. ["tool_result", "tool_use"] to focus on reasoning and discussion) |