create_module_item
Add an item (Assignment, Page, Quiz, File, Discussion, ExternalUrl, ExternalTool, SubHeader) to a Canvas module. Requires course ID, module ID, title, and type.
Instructions
Add an item (Assignment, Page, Quiz, File, Discussion, ExternalUrl, ExternalTool, SubHeader) to a module.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | The Canvas course ID | |
| module_id | Yes | The Canvas module ID | |
| title | Yes | Title of the module item | |
| type | Yes | Type of content to add | |
| content_id | No | Canvas ID of the content (required for File, Page, Discussion, Assignment, Quiz) | |
| external_url | No | URL for ExternalUrl or ExternalTool items | |
| position | No | Position within the module |