Get assembled context
get_contextAssemble relevant memories for the current task using hybrid retrieval, optional graph expansion, and token budgeting. Load context before a task to ground decisions with past knowledge.
Instructions
Assemble relevant memories for the current task via hybrid retrieval (+ optional memory-graph expansion), with token budgeting. Use to load memory into context before a task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of seed memories (default 10) | |
| query | No | Optional focus query to seed hybrid retrieval | |
| userId | No | Scope context to a user (USER scope) | |
| maxTokens | No | Token budget for assembled context (default 2000) | |
| projectId | No | Scope context to a project | |
| sessionId | No | ||
| includeGraph | No | Expand seeds with memory-graph neighbors | |
| includeHistory | No | Include superseded/archived memories |