hivelearn_create_lesson
Add a lesson to a course. content_type must match content_url (e.g. youtube URL → content_type:youtube). Set module_id=null to leave the lesson unassigned; otherwise pass a module uuid from list_course_modules.
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": {
"course_id": "<course_id>",
"title": "<title>",
"content_url": "<content_url>"
},
"name": "hivelearn_create_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| course_id | Yes | ||
| module_id | No | ||
| is_preview | No | If true, visible to non-enrolled users | |
| sort_order | No | ||
| content_url | Yes | ||
| description | No | ||
| content_json | No | ||
| content_type | No | ||
| is_published | No | ||
| thumbnail_url | No | ||
| content_format | No | ||
| duration_seconds | No |