search_memories
Retrieve relevant stored memories using semantic similarity, keyword matching, or hybrid search to find the right context for a query.
Instructions
Search memories using semantic similarity, full-text search, or hybrid mode. Supports hybrid search combining both methods for best results.
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_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Search mode: 'semantic' for meaning similarity, 'text' for keyword match, 'hybrid' for both (default) | |
| limit | No | Maximum results (default 10) | |
| query | Yes | Text query for semantic/full-text search. Finds memories with similar meaning. | |
| store_id | No | Store/fork ID (default 'main') | |
| semanticWeight | No | Weight for semantic results in hybrid mode (0-1, default 0.7) |