Search Documentation
Search across all documentation pages
archive_memory
Archive or unarchive a memory entry by ID. Archived memories are excluded from search results by default but can be included by setting includeArchived: true in search_memories. Use this to soft-delete memories that are no longer relevant without permanently losing them.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
| memoryId | string (UUID) | required | Memory ID to archive or unarchive |
| archived | boolean | optional | True to archive, false to unarchive (default true) |
Returns#
Confirmation of the archive/unarchive operation with the memory ID and new archived status.
Example#
json
{
"tool": "archive_memory",
"arguments": {
"memoryId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"archived": true
}
}