context
Load past decisions, preferences, and project knowledge relevant to your current task. Call at session start or when switching topics to retrieve broad context instead of specific facts.
Instructions
Load relevant memories for the current task, designed for session bootstrapping. This is a read-only operation identical to recall internally, but optimized for broad context loading rather than specific questions. Call context at the start of every conversation, passing a description of what you are working on, to retrieve past decisions, preferences, and project knowledge. Also call when switching topics mid-session. Use context (not recall) for "what do I need to know about X?" and recall for "what specifically was decided about Y?". Returns up to max_memories results ranked by relevance. Costs 1 operation. Returns empty list (not error) if no relevant memories exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current_context | Yes | Description of what you are currently working on. Be specific: 'refactoring the authentication middleware in the Express API' retrieves better context than 'working on auth'. This is the search query for memory retrieval. | |
| agent_id | No | Agent instance identifier. Must match the agent_id used when storing memories. Default: 'default'. | default |
| user_id | No | User identifier. When provided, also retrieves user-scoped memories shared by other agents. | |
| max_memories | No | Maximum memories to return, 1-20. Default 5. Use 10-15 at session start for broad context loading, 3-5 for topic switches. |