SpecifyDocs

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
Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change

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 connection has agent access and every scope the tool needs.