store_edge
Connect stored nodes with defined relationships to maintain graph integrity and track updates and conflicts.
Instructions
Create a relationship between two stored nodes. Use this immediately after storing related nodes so the memory graph preserves structure, updates, and conflicts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | Optional strength of the relationship. | |
| source_id | Yes | Source node ID. | |
| target_id | Yes | Target node ID. | |
| relationship | Yes | Relationship between the two nodes. |