moodle_quiz_save_answers
Save quiz answers to an in-progress Moodle attempt without submitting it and return the attempt state; use exact fresh HTML field names and read the attempt before retrying failed writes.
Instructions
Save answers without finishing the attempt. Copy exact field names from fresh question HTML, including :sequencecheck fields and slots. Returns Moodle's attempt state. Never retry a failed write blindly; read the attempt first.
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>",
"data": "<data>"
},
"name": "moodle_quiz_save_answers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| site | No | ||
| attemptid | Yes | ||
| preflightdata | No | Access declarations required by Moodle. Enter passwords in the browser, never in chat. |