memory_search
Search stored memories using natural language to retrieve semantically relevant results, optionally filtered by project, agent, tier, importance, or similarity threshold.
Instructions
Search memories using natural language. Returns the most relevant memories based on semantic similarity to the query. Omit agent_id to search across all agents.
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": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Filter by tier: "hot", "warm", or "cold". Omit to search all tiers. | |
| limit | No | Maximum number of results to return (1-50) | |
| query | Yes | Natural language search query | |
| project | No | Filter by project slug. Omit for cross-project search. | |
| agent_id | No | Optional agent ID to scope the search. If omitted, searches across all agents. | |
| compress | No | Enable context compression on results | |
| threshold | No | Minimum similarity threshold (0-1) | |
| min_importance | No | Minimum importance threshold (0.0-1.0). Only return memories above this. | |
| include_archived | No | Include archived memories in results (default: false) | |
| max_context_tokens | No | Target total token budget for compressed results | |
| include_confidential | No | Include confidential memories in results (default: false) |