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.
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": "<course>",
"quiz_id": "<quiz_id>",
"questions": "<questions>"
},
"name": "add_quiz_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | ||
| quiz_id | Yes | ||
| questions | Yes |