get_quiz_questions
Retrieve all questions for a Moodle quiz using its slug, providing IDs, names, types, and slot numbers.
Instructions
List all questions attached to a quiz (identified by its slug). Read-only. Returns question id, name, type, and slot number for each question.
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": "get_quiz_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug that identifies the quiz (same used in configure_quiz / publish_exam_lesson). | |
| course_id | Yes |