memory_organize
Run memory maintenance batches to compact, consolidate, deduplicate, and purge expired entries. Use dry-run to preview changes before applying.
Instructions
Run safe memory maintenance batch.
Targets: safe_default: compact + consolidate + rewrite_links full: safe_default + backfill + dedup + purge_expired compact: FTS5 compact only dedup: KG entity dedup only
Args: target: Which batch to run (default: safe_default). dry_run: Preview without changes (default False). confirm: Required when target='full' and dry_run=False (purge is destructive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | safe_default | |
| confirm | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |