unclass_connection_get
ChatGPTGet the connected Unclass teacher and school, granted OAuth scopes, read/write permissions, supported lesson content types and languages, and content size limits. Use this to identify the current account or check what this connection can read or author before planning lesson changes. Read-only: does not sign in, change permissions, or modify content. Only the connected school is accessible.
unclass_course_archive
ChatGPTArchive the specified course in the connected school when the teacher asks to retire it from active use. Sets the course status to archived; preserves the course and all its lessons, pages, and sections without permanently deleting anything. Returns the archived outcome and course ID. The course can be restored with unclass_course_set_status using active.
unclass_course_create
ChatGPTCreate an active course with validated content. When asked to create a lesson, use the course the user specified. Otherwise, call unclass_courses_list and ask which course should contain the lesson before creating it. Only create a new course when the user explicitly requests or confirms it, including when no courses exist. Repeating this call creates another record.
unclass_course_get
ChatGPTCourse get. Only content in the connected school is accessible.
unclass_course_set_status
ChatGPTCourse set status. Only content in the connected school is accessible.
unclass_course_update
ChatGPTUpdate only the supplied course fields. Omitted fields and other records remain unchanged. Latest successful save wins.
unclass_courses_list
ChatGPTCourses list. Only content in the connected school is accessible.
unclass_lesson_create
ChatGPTCreate a draft lesson with pages with validated content. When asked to create a lesson, use the course the user specified. Otherwise, call unclass_courses_list and ask which course should contain the lesson before creating it. Only create a new course when the user explicitly requests or confirms it, including when no courses exist. After successfully creating the lesson, present two links from the tool response: Preview lesson (links.teacher_preview_url) first as the main link, then Edit lesson (links.editor_url) for optional manual changes. Use the returned URLs exactly; do not invent lesson links after creating only a course. Repeating this call creates another record. Create empty image sections, then attach image files with unclass_media_attach after receiving section IDs. Audio uploads require the website.
unclass_lesson_delete
ChatGPTDelete the lesson, or archive it when used in a completed classroom. Frozen classroom copies never change.
unclass_lesson_duplicate
ChatGPTDuplicate lesson as a draft where applicable, preserving section content. Pending/failed media must be resolved first. Repeating this call creates another copy.
unclass_lesson_get
ChatGPTLesson get. Only content in the connected school is accessible.
unclass_lesson_set_status
ChatGPTSet lesson readiness. Pages have no separate status; ready lessons expose all their pages.
unclass_lesson_update
ChatGPTUpdate only the supplied lesson fields. Omitted fields and other records remain unchanged. Latest successful save wins.
unclass_lessons_list
ChatGPTLessons list. Only content in the connected school is accessible.
unclass_lessons_reorder
ChatGPTReorder using every sibling ID exactly once, including archived content.
unclass_media_attach
ChatGPTReplace an image section's complete image list with one or two supplied image files in images, or attach a YouTube URL in sources to a YouTube section. Supply exactly one of images or sources. Review the saved result using the returned teacher preview link. Unclass stores supplied files; it does not generate images or store prompts.
unclass_media_retry
ChatGPTRetry an existing failed image/audio import without changing its source or rights.
unclass_media_status
ChatGPTMedia status. Only content in the connected school is accessible.
unclass_page_create
ChatGPTCreate page with validated content; lessons start as drafts; pages have no separate status. Repeating this call creates another record. Create empty image sections and then use unclass_media_attach for image files; audio uploads require the website.
unclass_page_delete
ChatGPTPage delete. Only content in the connected school is accessible.
unclass_page_duplicate
ChatGPTDuplicate page as a draft where applicable, preserving section content. Pending/failed media must be resolved first. Repeating this call creates another copy.
unclass_page_get
ChatGPTPage get. Only content in the connected school is accessible.
unclass_page_update
ChatGPTUpdate only the supplied page fields. Omitted fields and other records remain unchanged. Latest successful save wins.
unclass_pages_list
ChatGPTPages list. Only content in the connected school is accessible.
unclass_pages_reorder
ChatGPTReorder using every sibling ID exactly once, including archived content.
unclass_section_create
ChatGPTCreate section with validated content; lessons start as drafts; pages have no separate status. Repeating this call creates another record. Create empty image sections and then use unclass_media_attach for image files; audio uploads require the website.
unclass_section_delete
ChatGPTSection delete. Only content in the connected school is accessible.
unclass_section_duplicate
ChatGPTDuplicate section as a draft where applicable, preserving section content. Pending/failed media must be resolved first. Repeating this call creates another copy.
unclass_section_get
ChatGPTSection get. Only content in the connected school is accessible.
unclass_section_move
ChatGPTSection move. Only content in the connected school is accessible.
unclass_section_update
ChatGPTUpdate only the supplied section fields. Omitted fields and other records remain unchanged. Latest successful save wins.
unclass_sections_list
ChatGPTSections list. Only content in the connected school is accessible.
unclass_sections_reorder
ChatGPTReorder using every sibling ID exactly once, including archived content.