link_memories
Connect two memories with a relationship type to build a knowledge graph. Use for linking bug fixes to architecture decisions or preferences to patterns.
Instructions
Connect two related memories with a named relationship. Use this to build a knowledge graph — e.g., linking a bug fix to the architecture decision that caused it, or connecting a preference to the pattern it led to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | The source memory ID | |
| related_memory_id | Yes | The target memory ID to link to | |
| relationship | Yes | How the memories relate: led_to (A caused B), contradicts (A conflicts with B), extends (A builds on B), related (general connection) |