Export a SCORM package
export_scormBuilds a SCORM package for a course and returns the .zip base64-encoded. For bulk migration prefer GET /api/v1/courses/:id/scorm, which streams the zip instead. Requires the Build plan or higher.
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": {
"courseId": "<courseId>"
},
"name": "export_scorm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | No | Also report runs back to Underlayer analytics, keyed to the LMS's own learner id. | |
| locale | No | Package a translated locale instead of the source language. | |
| version | No | Defaults to scorm2004. | |
| courseId | Yes | Id of the course to package. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Size of the .zip in bytes. | |
| version | Yes | ||
| fileName | Yes | The package's file name. The .zip itself arrives as an embedded resource. |