moodle_quiz_start_attempt
Start a Moodle quiz attempt and timer for a specified quiz after confirmation; use an existing attempt ID to resume instead of consuming a new attempt.
Instructions
Start a quiz at the user's request. May consume an attempt and start a timer. Existing attempts should be resumed using their attemptid. Restricted quizzes can be taken through the browser tools.
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": {
"quizid": "<quizid>",
"confirm_name": "<confirm_name>"
},
"name": "moodle_quiz_start_attempt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | ||
| quizid | Yes | ||
| confirm_name | Yes | ||
| preflightdata | No | Access declarations required by Moodle. Enter passwords in the browser, never in chat. |