lms_package_build
Build the LMS package for a licence and language and return a download link valid 7 days. The customer uploads the ZIP unchanged into their LMS (SCORM Cloud, Moodle, SuccessFactors …). format: scorm12 (default), scorm2004 (4th edition) or cmi5. mode dispatch (default): small wrapper loading our player (seats, lock and expiry stay under our control). mode offline: self-contained ZIP with videos, player, materials and knowledge test — only if the licence has offline_allowed; licensee, seats and end date are shown on the start page and in the manifest, but nothing is enforced any more. Superadmins only.
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": {
"license_id": "<license_id>"
},
"name": "lms_package_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | dispatch (default) or offline (self-contained, needs offline_allowed) | |
| format | No | LMS standard of the package. Default scorm12 | |
| language | No | package language; default the licence's first language | |
| license_id | Yes | license_id from lms_license_list | |
| offline_media | No | offline only: all videos (default) or only the main video (smaller); materials always |