Grade a question in an attempt
moodle_grade_attempt_questionSets the mark and optional comment for one question in a student Moodle quiz attempt, enabling manual grading of essay or open responses.
Instructions
Manually sets the mark (and optional comment) of one question in a student attempt, e.g. essay questions.
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": {
"attempt_id": "<attempt_id>",
"slot": "<slot>",
"mark": "<mark>"
},
"name": "moodle_grade_attempt_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark | Yes | ||
| slot | Yes | ||
| comment | No | ||
| attempt_id | Yes |