Correct workspace memory
correct_workspace_memoryUse when the user identifies an existing workspace memory as wrong or outdated and provides its corrected replacement.
When to use it
Use when the user identifies an existing workspace memory as wrong or outdated and provides its corrected replacement.
Read context, list durable memory when stable ids are needed, then remember only explicit durable facts or preferences; correct or forget by stable memory id.
Bounded memory records with stable ids, or the created, superseded, review-gated, suppressed, or purged workspace-memory result.
Avoid using it when
The information is transient, inferred without confirmation, or belongs in a source document instead of memory.
Advanced input contract
Agent hosts use this JSON Schema to validate the exact input shape.
View full registry notes
Correct or supersede a specific owned workspace memory while preserving its provenance and correction history. Use only when the user identifies the durable memory as wrong or outdated. Use when: Use when the user identifies an existing workspace memory as wrong or outdated and provides its corrected replacement.
View JSON Schema
{
"type": "object",
"properties": {
"memoryId": {
"type": "string",
"format": "uuid"
},
"content": {
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"kind": {
"type": "string",
"enum": [
"semantic_fact",
"episodic_event",
"procedural_preference",
"project_preference",
"open_question",
"source_preference"
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"evidenceRefs": {
"type": "array",
"maxItems": 20,
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"library_content_chunk",
"library_file",
"library_document",
"library_artifact",
"library_canvas",
"agent_context_run",
"agent_interaction_event"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"snippet": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"relationship": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"type",
"id"
],
"additionalProperties": false
}
}
},
"required": [
"memoryId"
],
"additionalProperties": false
}