get_quiz_attempt_data
Get the questions for one page of an in-progress quiz attempt.
Each question's html is Moodle's own rendered question form --
parse it for the actual answer-field names before calling
save_quiz_attempt_responses/process_quiz_attempt. UNVERIFIED
against a real quiz.
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>"
},
"name": "get_quiz_attempt_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Quiz page number, 0-indexed. | |
| attempt_id | Yes | Attempt id, e.g. from start_quiz_attempt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextpage | No | ||
| questions | No |