Create Module
create_moduleCreate a new module in a course. Returns the created module, including its new Canvas ID. Each call creates a separate module — calling it twice with the same name makes two modules, not one — so check list_modules first if you want to…
Instructions
Create a new module in a course. Returns the created module, including its new Canvas ID. Each call creates a separate module — calling it twice with the same name makes two modules, not one — so check list_modules first if you want to avoid duplicates. New modules are always created unpublished, regardless of any other field; use update_module with published: true to make one visible to students. prerequisite_module_ids silently drops any ID that is not an existing module positioned before this one in the course — Canvas does not error on an invalid ID, it just ignores it. Once created, add content with create_module_item. Requires instructor/TA permission to manage course content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the module | |
| position | No | Position of the module in the list | |
| course_id | Yes | The Canvas course ID | |
| unlock_at | No | Date/time the module unlocks (ISO 8601) | |
| prerequisite_module_ids | No | IDs of modules that must be completed before this one |