search_sessions
Search past sessions by keyword, date range, or git branch. Scan conversation text, tool I/O, and sidecars to find matches with count and preview.
Instructions
Search past sessions by keyword, date range, or git branch. Scans prose, tool I/O, and flatten sidecars; returns matching sessions with a match count and a text preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No | Absolute path to project. Default: the project the CLI runs in (cwd) | |
| query | No | Keyword to search in conversation text | |
| branch | No | Filter by git branch name | |
| date_from | No | ISO date lower bound | |
| date_to | No | ISO date upper bound | |
| limit | No | Max results to return |