search_memories
Find relevant memories by semantic search. Supports natural language queries, scoping to user/agent/run, filtering, relevance threshold, and reranking to surface the most pertinent information.
Instructions
Semantic search across existing memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language description of what to find. | |
| user_id | No | User scope. Defaults to MEM0_USER_ID. | |
| agent_id | No | Agent scope. | |
| run_id | No | Run scope. | |
| filters | No | Additional structured filter clauses. | |
| limit | No | Maximum number of results. | |
| threshold | No | Minimum relevance score (0.0-1.0). | |
| rerank | No | Whether to apply reranking. | |
| enable_graph | No | Override default graph toggle. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |