Export Graph
graph_exportExport all graph nodes and edges to a timestamped JSONL backup file, automatically pruning old backups to save space. Use before risky operations or on a weekly schedule.
Instructions
Export all graph nodes and edges to a timestamped JSONL backup file in the backups/ directory. Run this before any risky operation, or on a weekly schedule. Old backups are pruned automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | Number of backup files to keep (default 14, ~2 weeks of daily backups). | |
| label | No | Optional label appended to the filename, e.g. 'pre-prune' → backup-2026-05-05-pre-prune.jsonl |