Update New Quiz
update_new_quizUpdate an existing New Quiz (LTI) in Canvas by assignment_id, changing only supplied fields; pass null to clear dates and keep omitted settings unchanged.
Instructions
Update an existing New Quiz (LTI) in a Canvas course, found by its assignment_id (from list_assignments or get_assignment, filtered on is_quiz_lti_assignment, or from create_new_quiz — not a Classic Quiz ID). Only the fields you pass change; omitted fields keep their current value, so a repeated call with the same payload leaves the quiz unchanged. Pass null for due_at, unlock_at, or lock_at to clear that date. Returns the updated quiz (id, title, points_possible, due_at, unlock_at, lock_at, published, assignment_id). Use update_new_quiz_item to change an individual question instead of the quiz shell, and delete_new_quiz to remove the whole quiz. quiz_settings's flat fields (calculator, shuffle, time limit, access code, one-at-a-time) each change independently, same as the rest of this call, but its multiple_attempts sub-object is replaced as a whole by Canvas: passing { multiple_attempts: { max_attempts: 3 } } clears every other multiple_attempts sub-field (which score to keep, the cooling period, …) instead of leaving them as they were, so repeat every sub-field you want kept. IP-address access filtering and result_view_settings are not supported by this tool. Requires permission to manage quizzes in the course.
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_new_quiz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the quiz | |
| due_at | No | ISO-8601 due date (null to clear) | |
| lock_at | No | ISO-8601 lock time (null to clear) | |
| course_id | Yes | The Canvas course ID | |
| published | No | Whether the quiz is visible to students | |
| unlock_at | No | ISO-8601 unlock time (null to clear) | |
| instructions | No | HTML instructions shown before the quiz starts | |
| assignment_id | Yes | The assignment ID of the New Quiz | |
| quiz_settings | No | Quiz session settings. The flat fields above change independently of each other, but multiple_attempts is replaced as a whole nested object — see its field for what that means. IP-address access filtering and result_view_settings are not supported by this tool. | |
| points_possible | No | Total points |