Tutor LMS
These abilities register when Tutor LMS is detected on the site and a Pro licence is active. If either is missing the module stays absent rather than failing at call time.
At a glance
Tutor LMS registers 7 abilities: 5 that only read, 0 that write, and 2 marked destructive. That split is the practical answer to how much of this module can run unattended. Reads cost nothing and are safe to repeat, so discovery is the part to be generous with; the writes are where review belongs, and the destructive calls stop for an explicit confirmation every single time regardless of which profile is active.
What this module is for
Discover Tutor LMS courses and curriculum, inspect user enrollments, and manage confirmed free-course enrollment without bypassing paid checkout.
Before you rely on it: Paid or purchasable courses must use their normal checkout. Unenrollment does not issue refunds or cancel payment agreements, and the module does not expose quiz answers, attempts, grades, or course-authoring writes.
Typical workflows
- Review course availability and curriculum before enrollment
- Audit a user's current course access
- Enroll a user in an eligible free course after explicit confirmation
The Tutor LMS integration page covers the same module from the workflow side, with the capability map and the questions worth asking before a first write.
Availability on your site
The Tutor LMS module needs three things at once: WPPilot Free as the MCP foundation, an active Pro licence, and the companion plugin detected on the site. Miss any one and the module does not register, which is deliberate: an ability that appears in the tool list but fails at call time is worse than an ability that was never offered. What the connected agent can actually call is then narrowed twice more: by the safety profile active on the site, and by the WordPress capabilities of the user behind the credential. A read that succeeds for an administrator can be absent entirely for an editor.
Every write these abilities perform is recorded in the change ledger, and destructive calls can be routed through the approval queue so a person signs off before anything is applied. A successful tool result means the operation returned, not that the front end, the cache, and every dependent template are correct: that still needs a look.
Reads
Available in every safety profile, including Read Only. Inspection costs nothing and is not rate limited.
| Ability | What it does |
|---|---|
wppilot/tutor-lms-check-setupCheck Tutor LMS Setup | Reports Tutor LMS Free/Pro runtime, course counts, configured monetization provider, key post types, and course administration capability. |
wppilot/tutor-lms-get-courseGet Tutor LMS Course | Reads one Tutor LMS course with content, author, price/monetization state, taxonomy, and curriculum counts. |
wppilot/tutor-lms-get-user-enrollmentsGet User Tutor LMS Enrollments | Reads a user’s Tutor LMS enrollment records without returning email, profile fields, quiz attempts, payment details, or order contents. |
wppilot/tutor-lms-list-course-contentList Tutor LMS Course Content | Lists a course curriculum in topic/menu order with lesson and quiz IDs, titles, types, status, topic identity, and bounded pagination. |
wppilot/tutor-lms-list-coursesList Tutor LMS Courses | Lists Tutor LMS courses with price mode, curriculum counts, author, categories, status, and bounded pagination. |
Destructive
Marked destructive in the source, so each call needs an explicit confirmation flag, every time.
| Ability | What it does |
|---|---|
wppilot/tutor-lms-enroll-userEnroll User in Free Tutor LMS Course | Enrolls an existing user through Tutor LMS EnrollmentModel only when the course is not purchasable. Paid courses are rejected so this ability cannot bypass checkout. |
wppilot/tutor-lms-unenroll-userUnenroll User from Tutor LMS Course | Permanently removes the Tutor LMS enrollment record for one user/course pair. It does not refund an order or cancel a payment/subscription. |