memory_relate_tool
Link two memories with a typed relation such as supersedes, contradicts, or depends_on to track knowledge dependencies and update the target's status when applicable.
Instructions
Create a typed relation between two memories.
Args: from_id: Source memory ID to_id: Target memory ID kind: supersedes, contradicts, invalidates, derived_from, verified_by, refines, depends_on, touches (supersedes/invalidates update the target status) valid_from: Optional ISO start of the relation validity window. valid_to: Optional ISO end of the relation validity window. source_episode: Optional session or episode id that recorded the edge. project: Optional project root path.
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": {
"from_id": "<from_id>",
"to_id": "<to_id>",
"kind": "<kind>"
},
"name": "memory_relate_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| actor | No | ||
| to_id | Yes | ||
| from_id | Yes | ||
| project | No | ||
| session | No | ||
| valid_to | No | ||
| request_id | No | ||
| valid_from | No | ||
| operation_id | No | ||
| source_episode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |