add_relationship
Creates typed links between two memories to organize and traverse related information, such as marking one memory as superseding, contradicting, or elaborating on another.
Instructions
Create a relationship between two memories. Relationships help organize and traverse related information.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"memory_id": "<memory_id>",
"related_memory_id": "<related_memory_id>"
},
"name": "add_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | No | Store/fork ID (default 'main') | |
| memory_id | Yes | Source memory ID | |
| related_memory_id | Yes | Target memory ID | |
| relationship_type | No | Type of relationship: related_to (general), supersedes (replaces), contradicts (conflicts), elaborates (expands on), references (mentions) |