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