create_memento_relationship
Link two mementos with typed relationships like SOLVES, CAUSES, or ADDRESSES to establish connections between stored memories in the MCP server.
Instructions
Link two mementos with a typed relationship.
Common types: SOLVES (solution→problem), CAUSES (cause→effect), ADDRESSES (fix→error), REQUIRES (dependent→dependency), RELATED_TO (general)
EXAMPLES:
create_memento_relationship(from_memory_id="sol-1", to_memory_id="prob-1", relationship_type="SOLVES")
create_memento_relationship(from_memory_id="err-1", to_memory_id="fix-1", relationship_type="CAUSES", context="Config error caused timeout")
Optional: strength (0-1), confidence (0-1), context (description)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_memory_id | Yes | ID of the source memory | |
| to_memory_id | Yes | ID of the target memory | |
| relationship_type | Yes | Type of relationship to create | |
| strength | No | Strength of the relationship (0.0-1.0) | |
| confidence | No | Confidence in the relationship (0.0-1.0) | |
| context | No | Context or description of the relationship |