link_memories
Creates a directed link between two memories to define their relationship and build a connected knowledge graph.
Instructions
Create a directed link between two memories.
Args: source_id: UUID of the source memory. target_id: UUID of the target memory. relation: Type of relationship (default 'related').
Returns: JSON string with the created link details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation | No | related | |
| source_id | Yes | ||
| target_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |