Create New Quiz
create_new_quizCreates a New Quiz in a Canvas course and returns its quiz ID, assignment ID, and current field values so you can add questions or update settings afterward.
Instructions
Create a New Quiz (LTI) in a Canvas course. Returns the created quiz with its id, assignment_id, and current field values. New Quizzes is Canvas's current quiz engine; there is no tool here to create a Classic quiz — list_quizzes, get_quiz, and delete_quiz only read and delete that older type. After creating, add questions with create_new_quiz_item, change title, dates, or points with update_new_quiz, and remove the quiz with delete_new_quiz. Each call creates another quiz (not idempotent), so check list_quizzes before retrying. quiz_settings covers session behavior (calculator, shuffle, time limit, access code, one-at-a-time, and multiple_attempts); its multiple_attempts sub-object is replaced as a whole by Canvas, so a later update_new_quiz call must repeat every multiple_attempts sub-field you want to keep. IP-address access filtering and result_view_settings are not supported by this tool. Requires permission to manage quizzes in the course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of the quiz | |
| due_at | No | ISO-8601 due date | |
| lock_at | No | ISO-8601 lock time | |
| course_id | Yes | The Canvas course ID | |
| published | No | Whether the quiz is visible to students | |
| unlock_at | No | ISO-8601 unlock time | |
| instructions | No | HTML instructions shown before the quiz starts | |
| 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; defaults to sum of item points |