update_assignment_dates
Update assignment due, unlock, and lock dates (ISO 8601) for a single assignment, including graded discussions and New Quizzes. Clears dates with empty strings.
Instructions
Update due_at, unlock_at, and/or lock_at for a single assignment. Also works for graded discussions and New Quizzes (which are assignments under the hood). Prefer this over update_assignment when you only need to change dates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_id": "<course_id>",
"assignment_id": "<assignment_id>"
},
"name": "update_assignment_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due_at | No | Due date (ISO 8601). Empty string to clear. | |
| lock_at | No | Available until (ISO 8601). Empty string to clear. | |
| course_id | Yes | Canvas course ID | |
| unlock_at | No | Available from (ISO 8601). Empty string to clear. | |
| assignment_id | Yes | Assignment ID |