memory_invalidate
Marks an outdated or overturned direction-layer memory as invalid without deleting it, preserving an audit trail and removing it from injection. Locate the entry by memory ID or unique content substring.
Instructions
Invalidate a direction-layer memory — mark it invalid without deleting.
Explicitly invalidate a direction-layer preference when it is outdated/overturned (Zep invalidation semantics: set invalid_at without deleting, preserving an auditable trail). After invalidation it no longer enters injection and by default does not appear in memory_list.
Two locating methods, choose one: precise location by memory_id, or location by content_match substring (saving an id lookup when you only have the original text — exactly the situation when a quota bounce hands it back to you). The substring must uniquely hit a valid entry in the current context: on 0 or multiple hits, the data is not touched at all; on multiple hits, candidates are returned so you can give a more precise substring.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_invalidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | No | the id of the direction-layer memory to invalidate (alternative to content_match) | |
| content_match | No | the uniquely locating substring, exactly matched against valid entries' bodies (alternative |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||