memory_relations
Follow memory-to-memory relations from a given memoryId to discover related memories, supersessions, and parent links, ranked by confidence.
Instructions
Follow stored memory-to-memory relations, related IDs, supersession and parent links from memoryId. Returns confidence-ranked results containing memory, hop and confidence; the starting memory is excluded. maxHops defaults to two and is capped at five, with at most 500 visited memories. Returned memories record retention access. Use memory_graph_query for the separate entity/concept graph rather than memory relationships.
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": {
"memoryId": "<memoryId>"
},
"name": "memory_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxHops | No | Max traversal depth (default 2) | |
| memoryId | Yes | Memory ID to find relations for | |
| minConfidence | No | Min confidence (0-1, default 0) |