Mnemostack Invalidate
mnemostack_invalidateMark memories stale by ID without deleting or re-embedding them. Invalidated facts drop out of default recall but remain retrievable via include_invalidated or as_of.
Instructions
Mark memories stale by id, non-destructively.
A write tool (parallel to mnemostack_graph_add_triple). Sets invalidated_at (and optionally valid_until) on each point's payload without deleting or re-embedding it; invalidated facts drop out of default recall but stay reachable via include_invalidated / as_of. Points that do not exist are skipped. Pass index_root in multi-root collections to avoid marking another root's chunks stale. Returns ok, requested, and invalidated (the number of points actually updated).
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": {
"ids": "<ids>"
},
"name": "mnemostack_invalidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Point id(s) to mark stale (string or integer) | |
| index_root | No | Owner guard: when set, points owned by a different index_root are skipped, so one root cannot invalidate another's chunks in a shared collection. | |
| valid_until | No | World-time the fact stopped being true (ISO-8601); optional, separate from the system-time invalidation stamp. Null preserves the stored value; clearing it is unsupported. | |
| invalidated_at | No | System-time stamp (ISO-8601); default: now (UTC) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||