Search saved project memories
memorysync_searchRetrieve stored project facts and user preferences: architectural decisions, naming conventions, pinned dependencies. Use before answering build questions to avoid re-asking for known info.
Instructions
Retrieve facts previously saved about THIS project and user: architectural decisions, naming conventions, pinned dependency versions, and stated preferences. Call this before answering questions about how the project is built, and before re-asking the user something they may have already told you. Returns ranked matches with an id and a relevance score. This searches the user's own stored memories only - to look up how MemorySync itself works, use memorysync_read_docs instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Maximum number of memories to return. Defaults to 5 if omitted. Ranked results degrade after the top few, so raise this only when surveying everything known about an area rather than answering one question. | |
| query | Yes | Natural language description of the fact you are looking for, for example 'which ORM does this project use' or 'deployment target'. Phrase it as the topic you need, not as a question to the user. Matching is semantic, so exact wording from the original memory is not required. An empty or single-word query returns weak matches; prefer a short phrase. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of memories returned. | |
| results | Yes | Matching memories, most relevant first. |