Create or edit course structure
apply_course_structureAdds or updates chapters and lessons in an unpublished course draft, including the first outline of an explicitly incremental course shell. Normal rich first drafts should begin with create_course_from_blueprint so source, activity, and dependency intent is durable. Set reorder to true and send every current chapter and lesson ID exactly once to apply the supplied order safely. Deletions use their dedicated confirmation-protected tools. It cannot create a course or publish.
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": {
"course_id": "<course_id>",
"expected_revision": "<expected_revision>",
"idempotency_key": "<idempotency_key>",
"chapters": "<chapters>"
},
"name": "apply_course_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reorder | No | When true, chapters and each chapter lessons are reordered to exactly match this complete list. | |
| chapters | Yes | ||
| course_id | Yes | ||
| idempotency_key | Yes | ||
| expected_revision | Yes |