Recall context within a token budget
memory_recall_contextLoad critical long-term memories into a limited context window by retrieving and greedily packing relevant information within a token budget.
Instructions
Returns the most critical memories for a query, greedily packed to fit a token budget, as a ready-to-inject context block. Use this to load long-term memory into a limited context window before answering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| userId | Yes | ||
| tokenBudget | Yes | Approximate max tokens the returned context may use. |