Metis · Memory Curator — Surface Relevant Context
surface_relevant_contextRetrieves past memory entries by topic and optional tags, ranks them by relevance, and formats top results into a context brief for the current agent.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>"
},
"name": "surface_relevant_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| top_n | No | ||
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |