Find Duplicate Files
find_duplicate_filesIdentify duplicate files in a Canvas course's Files area by matching name and size, often left from repeated course copies. Surface them for cleanup to reduce accessibility checker flags and streamline file management.
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 |