Link memories
memory_relateCreate or remove directed links between memories (supports, contradicts, supersedes, refines, duplicates, related) to map relationships; backlinks become visible when retrieving a memory.
Instructions
Create or remove directed links between memories (the relationship graph): e.g. tie a decision to the facts it depends on, or a history entry to the decision it records. Targets must exist; backlinks are visible via memory_get.
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": {
"id": "<id>",
"related": "<related>"
},
"name": "memory_relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Source memory id | |
| kind | No | Edge kind (plan §4.7): supports | contradicts | supersedes | refines | duplicates | related | related |
| action | No | add (default) creates links, remove deletes them | add |
| related | Yes | Target memory ids to link to / unlink from |