Create Relationship
create_relationshipConnect two related memories by adding a typed relationship, creating a knowledge graph edge that enables structured navigation and retrieval.
Instructions
Link two memories with a typed relationship. Creates a knowledge graph edge between memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_hash | Yes | SHA-256 hash of the target memory | |
| from_hash | Yes | SHA-256 hash of the source memory | |
| relation_type | Yes | Type of relationship (e.g., "related_to", "causes", "depends_on", "part_of", "follows") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |