Skip to content

Search Documentation

Search across all documentation pages

get_related_memories

Given a memory ID, returns related memories: those listed in relatedMemoryIds, memories sharing entities, and the supersession chain. Use this to explore the context around a specific memory and understand how knowledge is connected.

Parameters#

ParameterTypeRequiredDescription
memoryIdstring (UUID)requiredThe memory ID to find relations for
limitinteger (1-50)optionalMax related memories to return (default 20)
vaultIdstring (UUID)optionalVault scope for related memory lookup. Uses default vault if omitted.

Returns#

An object containing arrays of related memories grouped by relationship type: explicit relations, entity-shared memories, and supersession chain members.

Example#

json
{
  "tool": "get_related_memories",
  "arguments": {
    "memoryId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "limit": 10
  }
}