update_assignment
Modify assignment details in a Canvas course, including title, description, due dates, points, grading type, submission types, and peer review options.
Instructions
Update an existing assignment in a course.
Args:
course_identifier: Course code or Canvas ID
assignment_id: Assignment ID to update
name: New assignment name/title
description: New HTML description
submission_types: Comma-separated types (online_text_entry, online_url, online_upload, discussion_topic, none, on_paper, external_tool)
due_at: New due date in ISO 8601 format
unlock_at: New available date in ISO 8601 format
lock_at: New lock date in ISO 8601 format
points_possible: New maximum points
grading_type: One of: points, letter_grade, pass_fail, percent, not_graded
published: Whether to publish the assignment
assignment_group_id: Assignment group ID to move to
peer_reviews: Enable peer reviews
automatic_peer_reviews: Auto-assign peer reviews
allowed_extensions: Comma-separated file extensions (e.g., "pdf,docx,txt")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_identifier | Yes | ||
| assignment_id | Yes | ||
| name | No | ||
| description | No | ||
| submission_types | No | ||
| due_at | No | ||
| unlock_at | No | ||
| lock_at | No | ||
| points_possible | No | ||
| grading_type | No | ||
| published | No | ||
| assignment_group_id | No | ||
| peer_reviews | No | ||
| automatic_peer_reviews | No | ||
| allowed_extensions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |