Description
search_memory finds memories that may help the assistant answer, code, plan, or
make a decision. Use full natural-language questions for best results.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | - | Natural language description of what to find. Full sentences produce best results. |
limit | number | No | 5 | Number of results to return. Use higher values for broad topics. |
category | string | No | all | Filter to preference, fact, decision, or context. |
project | string | No | all | Filter to a specific known project. |
threshold | number | No | 0.6 | Search strictness. Higher values return broader matches. |
Example
Response
relevance score from 0 to 1.
Query Guidelines
- Ask a complete question.
- Include the project name when it matters.
- Use
categoryif you only need one type of memory. - Increase
limitwhen preparing a larger answer.
MCP tools intentionally do not expose
scope. Use the REST API or TypeScript
SDK when your app needs per-user or per-tenant isolation.