supersede_learning
Replace outdated stored memories with corrected text using the conflicting memory ID. Fixes errors from store_memory conflicts by deprecating the old entry and saving the new version.
Instructions
Deprecate an existing memory (by ID from store_memory conflicts list) and replace it with corrected text. Use when store_memory returns a conflict that contains incorrect or outdated information.
old_id is the ChromaDB document ID returned in the conflicts list. Returns: {found_old: bool, new_id: str}
repo_path: optional absolute path to the target repository.
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": {
"old_id": "<old_id>",
"new_text": "<new_text>"
},
"name": "supersede_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_id | Yes | ||
| new_text | Yes | ||
| repo_path | No | ||
| learning_type | No | fact |