surface_relevant_context
Retrieve past memory entries by topic and tags, then surface the top relevant entries as a structured context brief to inform the current task.
Instructions
Retrieve past memory entries relevant to a topic and return a structured context brief.
Searches memory_entries by topic keyword and optional tag list, ranks by
relevance, and formats the top N entries for injection into the current
agent's working context.
Args:
topic: The topic or task description to search for.
tags: Optional comma-separated topic tags to include (e.g. 'methods,phd').
top_n: Maximum number of entries to return (default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| tags | No | ||
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |