recall
Retrieve relevant stored memories, facts, and preferences from vector-based long-term memory to personalize responses across sessions.
Instructions
Retrieve stored memories relevant to a query key.
IMPORTANT: To get reliable results the LLM MUST query with the same short, canonical, embedding-optimized keys used at store time. Keys should be compact (1–5 words, space-separated) and represent the core concept — avoid long descriptive queries. If the current user utterance is verbose, the LLM should first map or canonicalize it to an appropriate short key before calling this tool (for example map "I really like listening to jazz music" -> "likes jazz").
This tool SHOULD be called by the LLM when it needs to fetch previously stored facts, personal details, or preferences to inform a response or provide personalized behavior (for example: to recall a user's favorite cuisine before making restaurant suggestions).
Parameters:
key: concise, embedding-friendly, space-separated query text used for similarity search.
top_k: maximum number of nearest memories to return.
Returns a dict with results (memory items including stored value).
If nothing matches, results is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| top_k | No |