search
Retrieve specific facts from memory when broad recall is too vague. Uses keyword or semantic similarity, with filters and cross-project support.
Instructions
Search memory by keyword or by semantic similarity. Use this tool when recall is too broad and you need specific facts. Automatically searches both project and global cross-project memory when REMEM_GLOBAL_SESSION_KEY is configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | The search mode. | hybrid |
| limit | No | ||
| query | Yes | The search text. | |
| format | No | The response format. Use 'json' for structured data (e.g. benchmarks). Defaults to 'text'. | text |
| explain | No | When true, attach per-hit score_details explaining ranking (BM25 rank, vector score, entity matches, authority multiplier, feedback salience, link provenance). Useful for debugging search quality. | |
| filters | No | ||
| session_key | No | The session key. Defaults to hash(cwd). Use this to search memory from a different project. |