memory_search
Perform semantic search over a stored memory namespace to retrieve the most relevant entries. Use this to recall context for RAG pipelines.
Instructions
Semantically search a memory collection (namespace) and return the most relevant stored entries. The retrieval half of RAG.
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": {
"namespace": "<namespace>",
"query": "<query>"
},
"name": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language query; returns the most semantically similar stored entries. | |
| top_k | No | How many results to return (default 5). | |
| namespace | Yes | The namespace to search within (the same key used on upsert). |