Set question mark in quiz
moodle_set_slot_markSet the maximum mark for a single quiz slot in Moodle so teachers can control how many points each question is worth.
Instructions
Sets the maximum mark of one quiz slot.
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>",
"slot_id": "<slot_id>",
"mark": "<mark>"
},
"name": "moodle_set_slot_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| mark | Yes | ||
| slot_id | Yes |