5.22 The export_memories tool

Dumps every memory for the user as a JSON array, ordered oldest-first. Embedding vectors are not included — exports are intended for human-readable backup and migration, not for re-importing into a different embedding model. Capped server-side at a large but finite number of rows per call.

5.22.1 Inputs

include_deleted

Boolean. Optional, default true so the export captures the full historical record.

5.22.2 Output

Same per-row shape as recall matches, minus the score field and the embedding vector:

{
  "ok": true,
  "count": 412,
  "memories": [
    { "id": 1, "text": "...", "tags": ["..."],
       "created_at": "2025-11-01T00:00:00Z", ... }
  ]
}

5.22.3 Errors

LIMIT_EXCEEDED when the store exceeds the export cap (in which case obtain an out-of-band dump), DATABASE_ERROR.