memory_link
Create typed links between two memories to define references, supersedes, or contradicts. Specify source and target IDs and choose an edge type. Optionally link both directions.
Instructions
Create an explicit typed link between two memories.
Args: from_id: Source memory ID to_id: Target memory ID edge_type: Type of relationship. Options: - "references" (default): General reference - "implements": Source implements/realizes target - "supersedes": Source replaces/updates target - "extends": Source builds upon target - "contradicts": Source conflicts with target - "related_to": Generic relationship bidirectional: If True, also create reverse link (default: True)
Returns: Dict with created links and their types
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>"
},
"name": "memory_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| from_id | Yes | ||
| edge_type | No | references | |
| bidirectional | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |