Batch Permanently Delete Items
purge_itemsPermanently remove multiple soft-deleted items in a single batch. Provide filters or explicit item IDs, then confirm the deletion after reviewing the summary.
Instructions
Permanently and irreversibly delete many soft-deleted items at once (batch purge from the trash). Provide either an explicit items list (entity_type + entity_id pairs, e.g. gathered from list_deleted) OR filters: entity_type, older_than_days, only_demo (leftover demo/test fixtures), or all. On the first call it returns a confirmation conflict summarizing how many items of each type will be destroyed; pass resolution: "confirm" only after the user explicitly agrees. Only ever touches already-soft-deleted items; cascades to child rows the database cascades. Use restore_items to recover instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Filter: every recoverable item in the trash. Use with care. | |
| days | No | Filter look-back window in days. Defaults to 30. | |
| items | No | Explicit items to purge. Provide this OR filters. | |
| only_demo | No | Filter: only leftover demo / test fixtures. | |
| resolution | No | Pass "confirm" after the user agrees, "cancel" to abort. Omit on the first call to get a confirmation prompt. | |
| entity_type | No | Filter: only this entity type. | |
| older_than_days | No | Filter: only items deleted more than N days ago. |