search_memory
Search for semantically similar context from past sessions to inform your current task. Retrieve relevant memories using natural language queries.
Instructions
Search local vector memory for context semantically similar to query.
Call this at the start of a task to surface relevant context from past sessions before you begin reasoning or writing code. The search is embedding-based (not keyword-based), so natural-language questions work better than exact terms.
Example queries:
"how does authentication work in this project?"
"user's preferred code style and formatting rules"
"database schema decisions"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (1–20). Defaults to 5. | |
| query | Yes | A natural-language description of what you are looking for. | |
| project_tag | No | Restrict results to this namespace. Must match the tag used when storing. Defaults to "global". | global |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |