aeroedu_block_add_quiz
Attach a quiz to a lesson using an exam ID and automatically record student scores in the GradeBook.
Instructions
Gắn 1 đề thi/quiz vào bài học để học sinh làm bài ngay trong khoá học. Dùng exam_id từ aeroedu_exam_create. Học sinh làm xong → điểm tự động ghi vào GradeBook.
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": {
"lesson_id": "<lesson_id>",
"exam_id": "<exam_id>"
},
"name": "aeroedu_block_add_quiz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lesson_id | Yes | lessonId từ aeroedu_lesson_add | |
| exam_id | Yes | examId từ aeroedu_exam_create | |
| title | No | Tên hiển thị của quiz block (bỏ trống = dùng tên đề thi) | |
| required | No | Bắt buộc hoàn thành quiz mới được học bài tiếp (true) hay tuỳ chọn (false) | |
| position | No | Vị trí trong bài học |