ctx_update
Update an existing context entry, changing only provided fields. Use to correct, append, reclassify, archive, or adjust lifecycle and validity dates.
Instructions
Update an existing context entry. Only the provided fields are changed; omitted fields remain unchanged. Use this to correct, append to, reclassify, or retire (archive) an existing entry. Optional lifecycle/valid_from/valid_to update note maturity and bi-temporal validity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The context entry ID to update | |
| name | No | New title | |
| tags | No | Replacement set of tags | |
| type | No | New context type | |
| scope | No | New visibility scope | |
| content | No | New content body | |
| metadata | No | Replacement metadata object | |
| valid_to | No | Bi-temporal: ISO 8601 timestamp when the fact stopped being true; null to keep open. | |
| lifecycle | No | New lifecycle state (fleeting/working/evergreen/archived). | |
| archivedAt | No | Set to null to unarchive, or ISO date string to archive | |
| memoryKind | No | Taxonomy override: 'episodic', 'semantic', or 'procedural'. Setting this locks the value against the fire-and-forget atomicity-judge LLM refinement on this write. | |
| valid_from | No | Bi-temporal: ISO 8601 timestamp when the fact started being true. | |
| description | No | New description |