delete_announcements_by_criteria
Delete Canvas announcements based on title content or age, with dry-run preview and safety limits to avoid accidental permanent removal.
Instructions
Delete announcements matching specific criteria.
Permanent — Canvas may retain a recycle-bin copy depending on admin settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of announcements to delete (safety limit) | |
| dry_run | No | Show what would be deleted without deleting (default: True) | |
| criteria | Yes | Dict with keys: title_contains, older_than (ISO), newer_than (ISO), title_regex | |
| course_identifier | Yes | Course code or Canvas ID |