memory_link
Create directed associations between memories to reinforce recall, connecting decisions to causes or fixes to problems.
Instructions
Create a directed association between two existing memories.
Linked memories reinforce each other in recall, so a search that hits one can
surface the other even with no shared keywords. Use it to connect a decision to
its cause, or a fix to the problem it solved. Returns the created link, or an
`{"error": ...}` object if either memory id does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst_id | Yes | Id of the destination memory to associate with the source. | |
| src_id | Yes | Id of the source memory (from memory_add/memory_search). | |
| weight | No | Association strength from 0.0 to 1.0; higher means the memories surface together more strongly. | |
| relation | No | Relationship type: 'related_to', 'supersedes', 'caused_by', 'derived_from', or 'co_recalled'. | related_to |