Make a lesson (spends credits)
create_lessonStart making a narrated, interactive SCORM lesson from the user's text. This spends credits: call estimate_price first, tell the user the cost, and only call this after they agree. confirm_credits must equal the quoted total. Making takes about 3 to 8 minutes; then use get_lesson.
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": {
"title": "<title>",
"source_text": "<source_text>",
"confirm_credits": "<confirm_credits>"
},
"name": "create_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Lesson title, e.g. "Safe Manual Handling at Work". | |
| settings | No | Lesson settings. Leave out anything the user did not ask about; the defaults are used. | |
| source_text | Yes | The user's text to teach from, as given (80 to 50,000 characters). For a file, pass its extracted text. | |
| confirm_credits | Yes | The total credits from estimate_price that the user agreed to. |