lesson_restore
Restore the latest trashed lesson section for a given slug. Prevents data loss by refusing to overwrite an existing lesson with the same slug.
Instructions
Restore the latest trashed lesson section for slug.
Refuses to overwrite an existing lesson with the same slug.
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": {
"slug": "<slug>"
},
"name": "lesson_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |