relevant_memories
Retrieve full memory content matching a query to provide detailed context for AI agents. Results are returned as a markdown document.
Instructions
Find memories relevant to a query and return their FULL content (not summaries). Designed for LLM ingestion — call this when the assistant needs context on a topic and the memory index alone isn't specific enough. Returns up to max memories as a markdown document.
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": {
"query": "<query>"
},
"name": "relevant_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Max memories to include (default 5, capped at 20). | |
| query | Yes | The topic the assistant needs context on. |