canvas_update_assignment
Edit an existing Canvas LMS assignment by changing only the fields you specify—title, due date, points, visibility, or group—while leaving all omitted settings unchanged.
Instructions
Edit an existing assignment. MUTATES the course.
Only the fields you pass are changed; omitted ones are left alone. Two edits have downstream gradebook effects worth flagging to the instructor: publishing an assignment students have not seen, and changing points_possible on one that is already graded (every existing score is silently re-scaled in the totals).
Args: assignment_id: numeric assignment id. name: new title, or empty to leave unchanged. description: new body HTML, or empty to leave unchanged. points_possible: new max score, or omit to leave unchanged. due_at: new ISO 8601 UTC due date, or empty to leave unchanged. unlock_at: new ISO 8601 UTC availability date. lock_at: new ISO 8601 UTC close date. published: True/False to change visibility, or omit to leave alone. assignment_group_id: move it to another gradebook category. course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| due_at | No | ||
| lock_at | No | ||
| course_id | No | ||
| published | No | ||
| unlock_at | No | ||
| description | No | ||
| assignment_id | Yes | ||
| points_possible | No | ||
| assignment_group_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |