get_lesson_frame
Extract a single video frame from a lesson at a chosen timestamp to capture slides or visuals for notes. Returns inline image or saves JPEG for downstream tools.
Instructions
Screenshot a single video frame from a lesson at the given timestamp.
Args:
course_slug: from list_enrolled_courses.
lesson_slug: from list_lessons (the short id like "pu5xbv").
timestamp_seconds: where in the video to grab the frame.
quality: "low" 640x360 (default, fast); "high" full HD (slower).
save_path: if set, write the JPEG to this path ( and $VARS
expanded; parent dirs auto-created) so downstream tools can
reference it. The absolute path is included in the response.
include_image: default True. Set False to skip the inline image
(useful with save_path when the caller only needs the file).
Returns a JSON summary text block, plus a caption + inline image (unless include_image=False). Requires ffmpeg on PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | low | |
| save_path | No | ||
| course_slug | Yes | ||
| lesson_slug | Yes | ||
| include_image | No | ||
| timestamp_seconds | Yes |