memory_correct
Correct stale memory flagged by freshness check after code changes. Replaces stored content and refreshes git baseline so future checks compare against updated state.
Instructions
Update a memory flagged by memory_check_freshness with corrected content after its related code changed. Replaces the stored content and refreshes the git context (current commit SHA) so future freshness checks compare against the new baseline. For a general edit to any memory that is NOT part of a freshness check, use memory_update instead.
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": {
"id": "<id>",
"content": "<content>"
},
"name": "memory_correct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID of the memory item to correct | |
| content | Yes | The corrected, up-to-date content | |
| related_paths | No | Files/dirs this memory is about (e.g. ["src/api.ts"]). Refreshes staleness tracking for future checks. |