delete_lesson
Remove a lesson from a chapter in a Frappe LMS course. Specify the lesson and chapter names to delete the lesson and update the chapter.
Instructions
Delete a lesson and remove it from the chapter.
Args: lesson: The lesson name. chapter: The chapter name.
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": {
"lesson": "<lesson>",
"chapter": "<chapter>"
},
"name": "delete_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lesson | Yes | ||
| chapter | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |