Recall context within a token budget
memory_recall_contextPull relevant memories for a query and pack them into a token-limited context block, ready for direct use in AI prompts.
Instructions
Returns the most critical memories for a query, greedily packed to fit a token budget, as a ready-to-inject context block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| userId | Yes | ||
| tokenBudget | Yes | Approximate max tokens the returned context may use. |