start_quiz_attempt
Preview and start a new quiz attempt, consuming one limited attempt only after explicit confirmation with dry_run set to false.
Instructions
Start a new attempt at a quiz. IRREVERSIBLE once dry_run=False -- consumes one of the quiz's limited attempts. UNVERIFIED against a real quiz -- call get_quiz_access_information first and check canattempt/preventaccessreasons.
Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If True (default), only preview starting the attempt. Call again with dry_run=False (same parameters) to actually start it. | |
| quiz_id | Yes | Quiz id, e.g. from list_quizzes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| message | Yes | ||
| preview | Yes | ||
| executed | Yes |