Update Module Item
update_module_itemEdit an existing module item in place: rename it, repoint an ExternalUrl/ExternalTool item, reposition or re-indent it, publish/unpublish it, or move it to another module.
Instructions
Edit an existing module item in place: rename it, repoint an ExternalUrl/ExternalTool item, reposition or re-indent it, publish/unpublish it, or move it to another module. ExternalUrl items exist only as module items, so a stale link carried in by a course copy can only be fixed here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title for the module item | |
| indent | No | New indent level (0 = flush left) | |
| item_id | Yes | The Canvas module item ID | |
| new_tab | No | Whether an external item opens in a new tab | |
| position | No | New 1-based position within the module | |
| course_id | Yes | The Canvas course ID | |
| module_id | Yes | The Canvas module ID the item currently belongs to | |
| published | No | Whether the item is published | |
| external_url | No | New URL for an ExternalUrl or ExternalTool item | |
| target_module_id | No | Move the item to this module ID (omit to leave it where it is) |