Search within a past conversation
search_in_sessionFind specific turns in a past conversation by keyword search. Returns matching turns with turn numbers to quickly locate discussions and decisions.
Instructions
Find specific turns WITHIN one past Claude Code conversation by keyword — returns only the matching turns (with their turn numbers). Use when the user asks what was decided or discussed about a topic inside a known or large session (e.g. 'what did we decide about retries in that session'). Pick the session by id or session (free-text); query is the keyword to find inside it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keyword(s) to find inside the session. | |
| id | No | Session id from list_sessions/search_sessions. | |
| session | No | Free-text to locate the session if you don't have an id. |