Get course content
course_content_getGet a course's lessons as EditorJS blocks (H2 headers are sections, H3 headers are units): the current version, or an older saved revision when you pass version (list revisions with course_version_list). This is the authoring source with each block's id and data; course_get returns the course's settings and fetch only its catalog summary. Returns {courseId, version, blocks}, plus savedAt for an older revision; version 0 means nothing has been written yet (a new course holds its starter outline there, an older one no blocks), and a version number that does not exist is a not-found error. Read the current version before course_content_set so you can keep each block's id. To roll back, read the old version and write its blocks with course_content_set, which saves a new version rather than erasing history.
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": {
"id": "<id>"
},
"name": "course_content_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Course id. | |
| version | No | Version number to read, from course_version_list (0 is the starter outline a new course begins with). Omit for the current version. |