Retract a link
retract_linkRetract a mistakenly recorded link by naming its exact subject, target, and relation, appending a signed reason so reads stop applying the edge while references mark it retracted.
Instructions
Take back a link that was recorded by mistake: a governs on the wrong path, a relation that does not hold. Name the edge exactly as link_knowledge took it. The link is NOT erased: a signed retraction carrying the reason is appended, and every read that applies a link stops seeing the edge when nobody else asserts it, so a rule it addressed at a path stops acting there; references still shows it, marked retracted. It follows the link to the first tree that holds that edge. Only the identity that recorded a link retracts it; a link of another identity, or one already retracted, is refused. RECORDING IS PERMANENT: mnema is append-only and nothing deletes a fact. A record in the public scope is committed to the repository and reaches every machine that clones it (published, if that repository is public). So do NOT record credentials here. Values in a recognized format (cloud keys, API tokens, private keys, a password inside a URL) are replaced with a typed placeholder before anything is written and the reply says what was replaced, but a format mnema does not recognize is written verbatim and cannot be taken back. Do not record personal data either: an email address is replaced with and reported, and the mnid already says who wrote. Each text field holds at most 65536 bytes; a longer one is refused, not truncated.
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": {
"subject": "<subject>",
"target": "<target>",
"rel": "<rel>",
"reason": "<reason>"
},
"name": "retract_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel | Yes | The relation, as it was linked. | |
| reason | Yes | Why it is taken back. | |
| target | Yes | What the link points at, as it was linked. | |
| subject | Yes | The entity the link originates from. |