Publish course
set_course_publishedPublish a draft course to members, or turn it back into a draft. Admins only. Publishes a Classroom course so members who have access see it, or turns it back into a draft only admins see, as the course's Published switch does. Members' progress is kept. Publishing shows the course to members, so by default you confirm each call; you can switch that off for this tool. Waits for the owner's approval.
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": {
"group": "<group>",
"course_id": "<course_id>",
"published": "<published>"
},
"name": "set_course_published"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group URL name, e.g. 'yourgroup' for skool.com/yourgroup. | |
| course_id | Yes | course_id from list_courses or create_course. | |
| published | Yes | true publishes, false turns it back into a draft. |