Update Tutor LMS Course
Changes a Tutor LMS course's details: title, description, short summary, status, level, duration, categories, tags, featured image, and the lists Tutor shows on the course page (what students will learn, requirements, target audience, materials included). Only the fields given change; the rest are left as they are. A list replaces the whole list, and an empty one clears it. Categories and tags are given by name or ID; a new name is added to the site when you may add terms. Publishing follows Tutor's rule: an instructor's course goes for review when instructors may not publish. Pricing, the curriculum and the course's instructors stay in Tutor's course builder.
Also known as: edit course, rename course, change course description, publish course, set course category, course requirements, what you will learn.
| Property | Value |
|---|---|
| Ability slug | mosmcp/tutor-update-course |
| Wire tool name | mosmcp__tutor-update-course |
| Category | Tutor LMS (mosmcp-tutor) |
| Plan | Pro |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_tutor_courses |
| Minimum default role | Administrator |
| Annotations | readOnly: false · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| course_id | integer (min 1) | Yes | — | The Tutor LMS course ID, as returned by mosmcp/tutor-list-courses. |
| title | string (min length 1) | — | New course title. | |
| description | string | — | New course description, replacing the old one. HTML is saved the way the WordPress editor saves it: a user with the unfiltered_html capability can save any markup, including forms, scripts and styles, and markup a user is not allowed to save is refused with the reason rather than silently removed. Backslashes are kept. | |
| excerpt | string | — | New short summary. | |
| status | string (one of draft, publish) |
— | "publish" to put the course live (or up for review, by Tutor's rule), "draft" to take it down. | |
| level | string | — | Difficulty: all_levels, beginner, intermediate or expert, or another level the site defines. | |
| benefits | string[] | — | What students will learn, one item per entry. Replaces the whole list; empty to clear it. | |
| requirements | string[] | — | Requirements or instructions, one item per entry. Replaces the whole list; empty to clear it. | |
| target_audience | string[] | — | Who the course is for, one item per entry. Replaces the whole list; empty to clear it. | |
| materials | string[] | — | Materials included, one item per entry. Replaces the whole list; empty to clear it. | |
| duration_hours | integer (min 0) | — | Total course duration, hours part. | |
| duration_minutes | integer (min 0) | — | Total course duration, minutes part. 90 is stored as 1 hour 30 minutes. | |
| categories | (string | integer)[] | — | Course categories by name or ID, replacing the current ones. Empty to remove them all. | |
| tags | (string | integer)[] | — | Course tags by name or ID, replacing the current ones. Empty to remove them all. | |
| featured_image_id | integer (min 0) | — | Media library image ID for the course thumbnail, or 0 to remove it. Upload with mosmcp/media-upload-from-url first if needed. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| course | object | Yes | |
| course.course_id | integer | Yes | |
| course.title | string | Yes | |
| course.status | string | Yes | |
| course.price_type | string | free or paid. | |
| course.level | string | ||
| course.topic_count | integer | ||
| course.lesson_count | integer | Lessons in the course whatever their status, not counting trashed ones. | |
| course.published_lesson_count | integer | Lessons students can see. | |
| course.enrolled_count | integer | Students enrolled now; pending (unpaid) and cancelled enrollments are not counted. | |
| course.author | string | ||
| course.created_at | string | ||
| course.builder_url | string | ||
| course.view_url | string | ||
| course.excerpt | string | ||
| course.duration_hours | integer | ||
| course.duration_minutes | integer | ||
| course.categories | string[] | ||
| course.tags | string[] | ||
| course.featured_image_id | integer | 0 when there is none. | |
| course.benefits | string[] | ||
| course.requirements | string[] | ||
| course.target_audience | string[] | ||
| course.materials | string[] | ||
| changed | string[] | Yes | The fields this call changed. |
| warnings | object[] | Notes about the save, such as markup that could not be kept. | |
| warnings[].code | string | ||
| warnings[].message | string | ||
| warnings[].context | string | ||
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Move Tutor LMS Lesson or Quiz | Update Tutor LMS Lesson |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.