feat: let AI chat read lesson video transcripts on demand
Add get_lesson_transcript (teacher) and read_lesson_transcript (student) tools that fetch a lesson's uploaded-video transcript from media_transcript by the video assetIds. The agents call them only when a question is about the video's spoken content, so text-only chats keep a cacheable prefix.
This commit is contained in:
@@ -181,6 +181,7 @@ You have read-only, course-scoped tools:
|
||||
|
||||
- \`list_course_outline\` — see all sections, lessons, and exercises in this course.
|
||||
- \`read_lesson\` — fetch the body of a specific lesson by ID.
|
||||
- \`read_lesson_transcript\` — fetch the transcript of a lesson's uploaded video. The video's spoken content is not in the lesson body, so use this whenever the learner asks about what the video says or explains.
|
||||
- \`read_exercise\` — fetch an exercise prompt (no answer keys).
|
||||
- \`search_course\` — keyword search across this course\u2019s lessons and exercise prompts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user