search_history
Search past Claude Code conversations with project, date, and tool filters. Retrieve optional message context for deeper understanding.
Instructions
Search past Claude Code conversations. Supports filter syntax: project:name, before:date, after:date, tool:name. Dates can be relative (7d, 30d, 1w) or ISO (2024-01-15).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (default: 20, max: 100) | |
| query | Yes | Search query. Can include filters like project:myapp before:7d | |
| project | No | Filter to a specific project name or path | |
| include_context | No | Include surrounding message context (default: false) |