sage_link
Create typed relationships between memories to build a knowledge graph, recording how one memory supports, contradicts, or relates to another.
Instructions
Create a typed relationship between two existing memories. Use this to build a knowledge graph over memory: record that one memory supports, contradicts, causes, precedes, or refines another. The link is directional (source → target). Common link_type values: related (default), supports, contradicts, causes, precedes, refines, duplicates — but any short relation label is accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_type | No | Relationship type, e.g. supports, contradicts, causes, precedes, refines, related | related |
| source_id | Yes | ID of the source memory (the 'from' side of the relationship) | |
| target_id | Yes | ID of the target memory (the 'to' side of the relationship) |