mnemosyne_memory_query
Retrieve verbatim memories from your vault—notes, code, decisions, commit history—to quote or document. Get exact source text with ranking, not summaries.
Instructions
Search a vault and get the matching memories back word for word: notes, code, decisions, session summaries, commit history. Nothing is rewritten, so use this when you need the source text itself, to quote it or to write documentation from it. Ranking is vector similarity fused with a local BM25 channel, weighted by spine type. To FIND something rather than quote it, prefer mnemosyne_memory_ask, even when you only want its sources. It retrieves deeper and re-ranks, so it catches rare literal terms this tool misses: proper nouns, identifiers, product names. The score is not a confidence value. A hit and a miss come back with similar numbers, so judge the text, not the number beside it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of results (default: 10, max: 50) | |
| query | Yes | The search query. Be specific. Examples: "why we moved off Postgres", "the retry logic in the payment worker", "notes from the March planning session". | |
| vault | No | Vault TOKEN to search, case-insensitive. A token is the folder name uppercased, with spaces and hyphens as underscores. The path-shaped id from mnemosyne_vault_list also works. This deployment's default is "DEV". It is also scoped for: PERSONAL, SOCIAL. That list is configuration rather than a census, so call mnemosyne_vault_list for the vaults that exist on this machine. Anything outside the list is refused. | DEV |
| max_content_chars | No | Per-memory snippet size in characters (default 600). Each result is cut to this length, with a hint about its full size. Raise it past 2000 when you need whole files, and watch your context window. | |
| spine_type_filter | No | Optional whitelist of spine types. Use ["ARCHITECTURE"] for design docs, ["GIT"] for commit history, ["BUGFIX","DEBUG"] for incident knowledge, ["SOURCE_CODE"] for code only. Omit it to get every type, with the SOURCE_CODE scope weighting deciding the ranking. |