recall_memory
Retrieve relevant memories about user preferences and past instructions to provide persistent context for current requests.
Instructions
Retrieve memories relevant to a query. Retrieve relevant memories about the user's preferences, past instructions, and known facts. Call this when persistent context would help answer the current request. Returns a list of memories with their IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keywords or sentence describing what to look for in memory. | |
| top_k | No | Max memories to return (default: 5). | |
| api_key | No | Agent API key (starts with 'ym_'). If provided, also returns this agent's private memories. If omitted, returns shared memories only. | |
| user_id | No | User identifier (default: 'root'). | |
| current_path | No | Current working file or directory path. Memories tagged with matching paths receive a relevance boost. |