relate
Link two memories with a typed relationship to build a connected knowledge graph. Returns the edge id.
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. |