prune_archives
Remove archived site configs past a specified age threshold, with a dry-run default. Set confirm:true to permanently delete and see the number actually removed.
Instructions
Delete archived site configs (from delete_site) older than a threshold. Destructive - requires confirm:true to actually act; without it, lists what would be deleted and changes nothing. Continues past individual failures and reports how many actually got removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually delete; false (default) is a dry run | |
| older_than_days | No | Age threshold in days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pruned | Yes | Archive filenames removed - or, when confirm is false, that would be removed | |
| message | Yes | ||
| success | Yes |