link_memories
Link two memories in the same store as contradicting or duplicate to flag conflicting claims or repeated records, so context retrieval shows which memory conflicts.
Instructions
Flag two memories as contradicts (mutually conflicting claims)
or duplicate_of (same claim, recorded twice). Both ids must live
in the same store (repo or global) -- memory_link is a same-store
reference, so a repo/global pair is refused. Once linked,
retrieve_context surfaces each contradicting item's
contradicted_by field so a caller sees which other memory it
conflicts with, not just an aggregate count. Use change_status
with supersedes_link_to instead when one memory fully replaces
another (that is a status transition, not a same-status link).
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>",
"link_type": "<link_type>"
},
"name": "link_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| to_id | Yes | ||
| from_id | Yes | ||
| link_type | Yes |