memory_correct
Replace an outdated or incorrect fact while preserving its history. Record whether the world changed or the old value was wrong, updating dates and sources without losing prior versions.
Instructions
Replace a fact and keep the old one in history. kind="changed": the world changed, so the old fact ends on validFrom and the new value starts there (validFrom required). kind="wrong": the old fact was never right, so it is marked superseded and the new value takes its dates; a date you pass replaces the old one, except one where another version of the fact starts or ends. Subject and attribute default to the old fact's. A fact with versions you cannot see (another user's private ones) cannot be corrected; remember a new fact instead.
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": {
"factId": "<factId>",
"value": "<value>"
},
"name": "memory_correct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | "changed" (default) or "wrong" | |
| value | Yes | The new value | |
| factId | Yes | ID of the fact to replace (from memory_recall) | |
| reason | No | Why it changed, e.g. the ticket | |
| sources | No | Sources for the new value: document IDs, or "node:<id>" | |
| subject | No | New subject, if it changed | |
| validTo | No | Date the new value stopped being true, if it has | |
| attribute | No | New attribute, if it changed | |
| validFrom | No | Date the new value took effect (required for changed) | |
| containerId | No | Optional and not needed: the fact is found by its id in every space you can see, and the correction stays where the fact is |