canvas_update_module
Edit or publish a Canvas course module by changing its title, position, or visibility; publishing also makes its items live for students.
Instructions
Edit or publish a module. MUTATES the course.
Publishing a module publishes its items too, which is the usual way a week's content goes live for students. Only the fields you pass change.
Args: module_id: numeric module id. name: new title, or empty to leave unchanged. position: new 1-based slot, or omit to leave unchanged. published: True/False to change visibility, or omit to leave alone. course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| position | No | ||
| course_id | No | ||
| module_id | Yes | ||
| published | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |