memory_correct
tools/call
Correct durable memory while preserving and superseding its prior version.
Scopes
curate:memory
A memory recorded from an agent session also needs read:agent_sessions; without it the memory is left out, or reads as NOT_FOUND.
Inputs
- memoryIdstringRequired
- Memory ID
- expectedVersioninteger
- Expected current memory revision; stale corrections are rejected
- titlestringRequired
- Corrected title
- contentstringRequired
- Corrected durable content
- reasonstringRequired
- Why the memory changed
- confidencenumber
- tagsstring[]
- idempotencyKeystringRequired
- Unique retry key
Returns
The new memory version that supersedes the old one. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The key has agent access.