Get Relationships
get_relationshipsRetrieve linked memories and relationship types for a memory, filter by direction. Explore knowledge graph connections.
Instructions
Get all relationships for a memory. Returns linked memories with relationship types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | SHA-256 hash of the memory to get relationships for | |
| direction | No | Direction: outgoing (from this memory), incoming (to this memory), both (default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |