search
Locate curated project memories by query, type, or branch filters. Returns compact IDs with pagination, ready for follow-up observation retrieval.
Instructions
Search curated memories by query/project/type. Returns compact results with IDs, source='memory', pagination, and next_step for get_observations(ids, source). Use search_raw for literal chat recall.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Observation type filter | |
| limit | No | Max results to return (default 20) | |
| query | No | Search query (semantic search) | |
| branch | No | Git branch filter (e.g. 'main', 'feat/auth'). Only returns memories from this branch. Old data without branch info is always included. | |
| offset | No | Result offset for pagination | |
| explain | No | Include retrieval scoring and visibility explanation for standard search (default false). Not supported with multi_hop=true. | |
| project | No | Project name filter | |
| multi_hop | No | Enable multi-hop search (default false). When true, performs entity graph expansion: finds entities in first-hop results, then searches for memories mentioning those entities. Use for questions that span multiple topics/people, e.g. 'What do Melanie\'s kids like?' or 'What events has Caroline participated in?' | |
| include_stale | No | Include stale or archived memories (default false) | |
| include_suppressed | No | Include policy-suppressed memories (default false) |