prune_archive_tool
Delete archived originals older than a set age once a PNG snapshot exists, keeping snapshots as long-term memory. Runs dry by default to preview removals before deleting.
Instructions
Delete archived originals older than min_age_days that have a snapshot.
Safe to run: only deletes when a PNG snapshot exists as long-term memory. Default dry_run=True — set to False to actually delete.
Args: min_age_days: Minimum age of archived file to consider (default 365) dry_run: If True, only report what would be deleted (default True)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prune_archive_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| min_age_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |