memory_prune
Remove expired and stale memories from an AI agent's persistent store. Preview with dry_run, and define staleness using stale_days.
Instructions
Remove expired memories (TTL elapsed). Use dry_run to preview without deleting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only — show what would be pruned without deleting (default: false) | |
| stale_days | No | Days since last access to consider a memory stale (default: 30) |