Quiz responses
moodle_get_quiz_responsesRetrieve each student's answer to each Moodle quiz question, with optional correct answers and question text, to review quiz responses and support grading.
Instructions
Responses report: the answer each student gave to each question (optionally with the right answer and question text).
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": {
"cmid": "<cmid>"
},
"name": "moodle_get_quiz_responses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| attempts | No | Which users/attempts to include (default enrolled_with = enrolled users who attempted) | |
| include_right_answer | No | ||
| include_question_text | No |