auto_search
Retrieve relevant memories from a knowledge store to enrich the current conversation context within a token budget.
Instructions
Automatically retrieve and compose relevant memories for a user message.
Searches the memory store, selects the most relevant memories, and composes them into a context string within the token budget using multi-resolution levels (full text, summary, entity triple).
This tool should be called at the beginning of every conversation turn to inject relevant memory context.
Args: user_message: The user's current message to find relevant memories for. token_budget: Maximum tokens for the composed context (default: 1024). top_k: Number of memories to retrieve (default: 10, use higher values like 100 for memory review).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| token_budget | No | ||
| user_message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |