Create complete course draft
create_course_from_blueprintStarts an unpublished, resumable Trainn course build from a complete one-time blueprint. Call only when the user has explicitly asked to create, build, import, or push the course to Trainn. Do not call while the user is only planning. This creates the course and its initial chapters and lessons, persists source and dependency instructions for the initial build, and never publishes. Continue with get_course_build_status and its next_tool values until the build can be handed off. Ask the user only for genuinely missing files, permissions, or material ambiguities.
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": {
"idempotency_key": "<idempotency_key>",
"spec_version": "<spec_version>",
"course": "<course>",
"sources": "<sources>",
"blueprint": "<blueprint>",
"chapters": "<chapters>"
},
"name": "create_course_from_blueprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | ||
| sources | Yes | Inspected evidence used by this initial build. Use [] only when the user explicitly authorized general knowledge. | |
| chapters | Yes | ||
| blueprint | Yes | ||
| spec_version | Yes | Always 1. | |
| idempotency_key | Yes |