get_related_memories
Retrieves all memories connected to a given memory by traversing its relationship graph, so you can explore linked context, filter by relationship type, and control traversal depth.
Instructions
Get all memories related to a given memory by traversing the relationship graph.
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": {
"memory_id": "<memory_id>"
},
"name": "get_related_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Maximum traversal depth (default 2) | |
| store_id | No | Store/fork ID (default 'main') | |
| memory_id | Yes | Starting memory ID | |
| relationshipTypes | No | Filter by relationship types |