create_relation
Link two memories with a typed relationship to establish connections and organize information within the Mnemex memory system.
Instructions
Create an explicit relation between two memories.
Links two memories with a typed relationship (e.g., "references",
"follows_from", "similar_to").
Args:
from_memory_id: Source memory ID.
to_memory_id: Target memory ID.
relation_type: Type of relation.
strength: Strength of the relation (0.0-1.0).
metadata: Additional metadata about the relation.
Returns:
Created relation ID and confirmation.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_memory_id | Yes | ||
| metadata | No | ||
| relation_type | Yes | ||
| strength | No | ||
| to_memory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||