get_quiz_access_information
Check whether an account can attempt a quiz and identify why access is blocked—such as time window, password, or exhausted attempts—before starting an attempt.
Instructions
Check whether this account can currently attempt a quiz, and why not if blocked (e.g. time window, password, previous attempts exhausted). UNVERIFIED against a real quiz -- call this before start_quiz_attempt and sanity-check the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quiz_id | Yes | Quiz id, e.g. from list_quizzes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canmanage | No | ||
| canattempt | No | ||
| canpreview | No | ||
| accessrules | No | ||
| canviewreports | No | ||
| canreviewmyattempts | No | ||
| preventaccessreasons | No | Human-readable reasons attempting is currently blocked, if any. |