moodle_quiz_attempt_data
Read one page of an active Moodle quiz attempt and return question HTML with input names, values, and sequencecheck fields needed to save answers.
Instructions
Read one page of an active attempt. question.html contains the exact input names, values and sequencecheck fields needed to save answers. Follow nextpage until -1; respect sequential navigation.
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_attempt_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| site | No | ||
| attemptid | Yes | ||
| preflightdata | No | Access declarations required by Moodle. Enter passwords in the browser, never in chat. |