moodle_quiz_submit
Submits a finished Moodle quiz attempt permanently and irreversibly. Call only with confirm=true after showing answers and receiving explicit user approval.
Instructions
Finish and submit a quiz attempt. IRREVERSIBLE.
Only call with confirm=true after showing the user the answers and getting an explicit "yes".
Args: attemptid: quiz attempt id. page: optional zero-based page number. confirm: must be true.
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": {
"attemptid": "<attemptid>"
},
"name": "moodle_quiz_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| confirm | No | ||
| attemptid | Yes |