add_quiz_questions
Add or update quiz questions in a Canvas quiz. Existing questions with the same name are updated instead of duplicated.
Instructions
Add or update questions. A question already carrying the same name is updated in place.
Each question is {"name", "type", "text", "points", ...} where type is one of:
multiple_choice choices: list[str] correct: index
multiple_answers choices: list[str] correct: list[index]
true_false correct: true | false
essay (no extra fields)
text is HTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | ||
| quiz_id | Yes | ||
| questions | Yes |