search_archives
Search archived transcripts for any word or phrase. Returns matches with surrounding context to quickly find past conversations.
Instructions
Full-text substring search across every archived transcript. Returns matches with a short snippet of surrounding context. Case-insensitive by default. Scales to thousands of entries (the scan is a single _agentArchiveScan pass + in-memory filter). Use this when the user asks "what did I say about X" or "when did I last talk to Y". For richer queries (regex, semantic, embedding) — defer; this is the fast substring path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Cap the returned match count. Default 200. | |
| query | Yes | Substring to search for. Required. | |
| includeBody | No | Default false. Pass true to include the full transcript text on each match (otherwise only a snippet). | |
| caseInsensitive | No | Default true. Pass false for exact-case matching. |