moodle_quiz_start
Starts or resumes a Moodle quiz attempt and returns its questions, choices, timer, and answer input names; use only when the user explicitly asks to take the quiz.
Instructions
Start or resume a quiz attempt and return its questions and choices.
Creates a real attempt on Moodle (it does not submit it). Starting a quiz can consume one of your allowed attempts, so only call this when the user explicitly asks to start or take the quiz. The result contains the attempt id, page, timer, question text, choices and the exact input names to answer with. If Moodle requires a password, an honour statement or Safe Exam Browser, the result says so instead of starting.
Args: cmid: course-module id of the 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": {
"cmid": "<cmid>"
},
"name": "moodle_quiz_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes |