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.
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": {
"document_id": "<document_id>",
"questions": "<questions>"
},
"name": "save_quiz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| questions | Yes | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |