search_memories
Search existing memories using natural language queries, with options to filter by user, agent, time, relevance, importance, domain, and memory type.
Instructions
Semantic search across existing memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Temporal anchor (ISO date or datetime): return what was known/current on that date — memories created later are excluded and facts superseded only after the anchor carry no demotion. | |
| limit | No | Maximum number of results (default 10). | |
| query | Yes | Natural language description of what to find. | |
| domain | No | Keep only memories whose classified domain matches (e.g. career, ai, data, software_engineering, finance, trading, health, education, personal, legal, business, infrastructure). | |
| rerank | No | Whether to apply reranking. Defaults to the server's MEM0_ENABLE_RERANK. | |
| run_id | No | Run scope. | |
| filters | No | Additional structured filter clauses. | |
| user_id | No | User scope. Defaults to MEM0_USER_ID. | |
| agent_id | No | Agent scope. | |
| threshold | No | Minimum relevance score (0.0-1.0). | |
| memory_type | No | Keep only memories of this classified type: semantic, episodic, or procedural. | |
| enable_graph | No | Override default graph toggle. | |
| min_importance | No | Keep only memories whose classified importance is >= this value (0.0-1.0). | |
| sort_by_importance | No | Sort results by classified importance descending. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |