aeroedu_lesson_add
Add a lesson to a chapter, supporting video, reading, quiz, assignment, and lab types. Returns the lesson ID.
Instructions
Thêm 1 bài học vào chương. 5 loại: video (có videoUrl), reading (nội dung markdown), quiz (trắc nghiệm), assignment (bài tập nộp), lab (thí nghiệm). Trả về lesson_id.
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": {
"chapter_id": "<chapter_id>",
"title": "<title>",
"type": "<type>"
},
"name": "aeroedu_lesson_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chapter_id | Yes | chapterId từ aeroedu_chapter_add | |
| title | Yes | Tên bài học | |
| type | Yes | Loại bài học | |
| duration_minutes | No | Thời lượng dự kiến (phút) | |
| video_url | No | URL video (chỉ type='video') | |
| content | No | Nội dung markdown (type='reading') | |
| order | No | Thứ tự bài trong chương |