Set quiz maximum grade
moodle_set_quiz_max_gradeSet a Moodle quiz’s maximum grade and rescale the sum of marks to align final scores with the intended grading scale.
Instructions
Sets the maximum grade of the quiz (e.g. 10), rescaling the sum of marks.
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>",
"max_grade": "<max_grade>"
},
"name": "moodle_set_quiz_max_grade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| max_grade | Yes |