memex_correct
Correct a wrong or outdated stored fact by replacing it with new text while keeping the old record visible in history. Requires the original record id from a prior recall or get result.
Instructions
Correct a memory that is wrong or outdated, in one call: stores text as a new record superseding id. The old record is kept, marked superseded, and stays visible in memex_get's history -- nothing is deleted. id must come from a prior memex_recall or memex_get result; an unknown id is rejected. If id is already superseded, this reports the current replacement instead of writing, unless force=true. Do not use this for a brand-new, unrelated fact -- use memex_store instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the record being corrected (from a prior memex_recall or memex_get result). | |
| text | Yes | The corrected fact, verbatim. | |
| force | No | Supersede `id` anyway even if something else already superseded it. | |
| source | No | Optional provenance, e.g. a URL or file path. | |
| event_at | No | Optional ISO-8601 time the described thing happened. | |
| valid_to | No | Optional ISO-8601 end of validity (exclusive). | |
| valid_from | No | Optional ISO-8601 start of validity (inclusive). |