search_memories
Find relevant memories by rewriting natural language queries into keywords for semantic matching. Optionally filter by user, agent, or memory type.
Instructions
Semantic search. Rewrite the query to 3-6 keywords matching stored third-person facts.
Do not pass the user's raw message. Drop pronouns and question words.
When useful, run 2-4 parallel searches with memory_type: decision, convention, anti_pattern, or omit for catch-all.
When MEM0_LITE_FEEDBACK_MODE is enabled, responses include ts; rate useful/miss/noise via rate_memory_call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| user_id | No | ||
| agent_id | No | ||
| memory_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |