save_quiz
Store generated quiz questions into a document by providing question, answer, and type, with multiple-choice options validated, and receive assigned IDs for each saved question.
Instructions
Save generated quiz questions to a document. Each question needs question, answer and question_type (multiple_choice or short_answer). A multiple_choice question also needs options: at least 2, with the answer exactly one of them. Returns the stored questions with their assigned ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| questions | Yes | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |