create_quiz
Create a quiz with configurable questions, passing percentage, maximum attempts, and answer display settings. Set duration, shuffle order, and negative marking rules.
Instructions
Create an LMS Quiz with optional questions.
Args: title: Quiz title (slug auto-generated). passing_percentage: Minimum percentage to pass (0-100). questions: JSON list of [{"question":"","marks":5}]. max_attempts: Max attempts (0 = unlimited). show_answers: Show correct answers after submission. duration: Time limit in minutes (as string). shuffle_questions: Randomise question order. enable_negative_marking: Deduct marks for wrong answers. marks_to_cut: Marks to deduct per wrong answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| duration | No | ||
| questions | No | ||
| marks_to_cut | No | ||
| max_attempts | No | ||
| show_answers | No | ||
| shuffle_questions | No | ||
| passing_percentage | No | ||
| enable_negative_marking | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |