Create a course lesson
create_course_lessonAdd a lesson to a Circle course section, setting status, body, media, and comments. Requires confirm=true because it changes community state.
Instructions
Create a course lesson. Changes community state and requires confirm=true for the user-requested action.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_course_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| status | No | ||
| account | No | Named private Circle account; selects credentials, not a remote community ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete JSON request body instead of body flags. Supports nested Tiptap, maps and nullable values. | |
| body_html | No | ||
| thumbnail | No | signed_id of the lesson thumbnail image returned from the direct upload endpoint | |
| section_id | No | ||
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| featured_media | No | signed_id of the lesson featured media file returned from the direct upload endpoint | |
| rich_text_body | No | ||
| is_comments_enabled | No | ||
| is_featured_media_enabled | No | ||
| is_featured_media_download_enabled | No |