find_duplicate_files
Identifies duplicate files in a Canvas course's Files area based on identical name and size. Helps remove copies left from repeated course imports to reduce accessibility checker alerts.
Instructions
Find duplicate files in a course's Files area — copies with the same name and size, typically left behind by repeated course copies. Each duplicate gets flagged separately by accessibility checkers, so this surfaces them for cleanup with the existing delete_file tool. Groups by display name + size (Canvas file listings carry no content hash), so same-name files of different sizes are not considered duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | The Canvas course ID | |
| folder_id | No | Optional Canvas folder ID to scope the search to that folder and its subfolders |