Archive memories
archive_memoriesArchive memories from the working or contextual tier into longterm. Entries are kept, not deleted; filters (keys, tags, from_tier, older_than_hours) combine as AND. Requires memory:write or full permission. Use delete_memory for irreversible removal, promote_memory to move a key the other way, and consolidate_memories when you also want a parent summary. Pass playbook_id as the UUID or GUID of the playbook this call should target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Specific keys to archive | |
| tags | No | Only archive memories with these tags | |
| from_tier | No | Only archive from this tier | |
| playbook_id | Yes | UUID or GUID of the target playbook | |
| older_than_hours | No | Archive memories older than X hours | |
| generate_summaries | No | Auto-generate summaries if missing |