relate
Create a typed edge between two memory IDs with a relationship label. Returns the edge ID so linked memories can be traversed and recalled as connected context.
Instructions
Create a typed link from one memory to another. Returns the edge id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target memory id. | |
| from | Yes | Source memory id. | |
| relation | Yes | Relationship label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_id | Yes | Id of the created edge. |