gc
Remove or archive low-scoring memories to free space and optimize memory retention. Preview changes with dry run, archive instead of delete, and set a processing limit.
Instructions
Remove or archive low-scoring memories.
Args: dry_run: Preview without removing. archive_instead: Archive instead of deleting. limit: Max memories to process (1-10,000).
Returns: Dict with removed_count, archived_count, freed_score_sum, memory_ids.
Raises: ValueError: Invalid limit range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| dry_run | No | ||
| archive_instead | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||