recall_memory
Recall user preferences, past instructions, and known facts at task start for context. Returns matching memories and their IDs.
Instructions
Retrieve memories relevant to a query. Call this at the start of every task to get context about the user's preferences, past instructions, and known facts. 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. | |
| user_id | No | User identifier (default: 'root'). | |
| api_key | No | Agent API key (starts with 'ym_'). If provided, also returns this agent's private memories. If omitted, returns shared memories only. | |
| top_k | No | Max memories to return (default: 5). | |
| current_path | No | Current working file or directory path. Memories tagged with matching paths receive a relevance boost. |