update_lesson
Update a lesson's title, content, YouTube video, preview visibility, or instructor notes. Provide only the fields to change.
Instructions
Update a lesson's fields. Pass empty strings for fields you don't want to change.
Args: lesson: The lesson name. title: New lesson title (empty = no change). content: EditorJS JSON string (empty = no change). youtube: YouTube video URL (empty = no change). include_in_preview: Whether this lesson is visible in the course preview. instructor_notes: Markdown instructor notes (empty = no change).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| lesson | Yes | ||
| content | No | ||
| youtube | No | ||
| instructor_notes | No | ||
| include_in_preview | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |