configure_quiz
Create or update a quiz shell without questions, idempotently by slug, and combine with import_gift to populate questions.
Instructions
Create or update a quiz shell (no questions). Idempotent by slug. Default: hidden, unlimited attempts, grade=10, method=highest. The plugin resolves section_num (section number) to section ID internally. Combine with import_gift to populate questions, or use publish_exam_lesson for both in one call.
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>",
"slug": "<slug>",
"name": "<name>"
},
"name": "configure_quiz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | Yes | Stable key used to build the quiz idnumber | |
| grade | No | ||
| intro | No | ||
| visible | No | ||
| attempts | No | ||
| timeopen | No | ||
| course_id | Yes | ||
| timeclose | No | ||
| grademethod | No | highest | |
| section_num | No | Section NUMBER (0 = General, 1..N = topics). Will be resolved to section ID by the plugin. | |
| timelimit_seconds | No |