LearnDash AI Agent — What It Can Do
62 tools for managing courses, grading, enrollment, and student progress

What is the LearnDash AI Agent?
The Blockli LearnDash Agent is an AI-powered assistant that connects directly to your LearnDash LMS through 62 specialised tools. It can read, create, update, and manage every aspect of your LearnDash installation — courses, lessons, quizzes, assignments, groups, enrollments, and student progress — all through natural language instructions.
No more clicking through menus. Just tell the AI what you need and it executes the actions autonomously.
The agent can manage courses end-to-end:
- List courses — browse all courses with pagination, search by keyword, filter by status
- Get course — retrieve full details of any course including settings and metadata
- Create course — build a new course with title, description, and settings
- Update course — change the title, content, status, or any course setting
- Delete course — remove a course from the platform (*currently disabled)
- Add/remove course prerequisites — manage which courses must be completed first
- Add/remove courses from groups — assign courses to learning groups
Full CRUD control over all content under a course:
- Lessons — list, create, get, update (including lesson order and status)
- Topics — list, create, get, update topics within lessons
- Quizzes — list, create, get, update quizzes; retrieve quiz statistics and form entries
- Questions — list, create, get, update questions inside quizzes, including answer choices, points, and correct answers
- Question types — look up all available LearnDash question types (multiple choice, essay, fill-in-blank, etc.)
The agent can read and grade student submissions:
- List/get assignments — retrieve student assignment submissions, filter by course, lesson, or approval status
- Update assignment — approve a submission, assign a numeric grade, and leave grader feedback
- List/get essays — retrieve essay-type quiz submissions with full content
- Update essay — grade an essay, set graded/not_graded status, add a grading note
- List/get exams — retrieve LearnDash exam records
AI Grading Workflow: Combine these tools with Extract Document to automatically read submitted files (PDF, DOCX, TXT) and grade against a rubric you supply.
Manage learning groups and control who has access to what:
- Groups — list, create, get, update groups; get group users, courses, and leaders
- Enroll user in course — grant a student access to a specific course
- Unenroll user from course — revoke course access
- Enroll user in group — add a student to a learning group (inherits all group courses)
- Unenroll user from group — remove a student from a group
- Add/remove group leader — promote or demote a user as a group instructor
- Add/remove group from course — link a learning group to a specific course
Query real-time student progress data:
- Get user course progress — see steps completed, percentage, and overall status for any student in any course
- Get user quiz progress — retrieve quiz attempt history, scores, and pass/fail results for a student
- Get quiz statistics — aggregate quiz performance data across all students
- Get quiz form entries — pull raw answer data from quiz submissions
- Progress statuses — look up all valid LearnDash progress status values
- Price types — list available course access/pricing models (free, paid, subscription, etc.)
Two utility tools let the AI read files directly:
- Fetch URL — retrieve any accessible URL and return its body as text
- Extract Document — download and extract text from DOCX, ODT, PDF, DOC, TXT, HTML, CSV, JSON, XML files
Bulk enrolment: Enrol all students in Group A into the new onboarding course — the agent lists group members and calls enroll-user-in-course for each one.
Rubric-based grading: Grade all pending assignment submissions and approve those scoring 70% or above — the agent extracts each file, scores with the rubric, then calls update-assignment with grade, note, and approved:true.
Course audit: Show all courses with no lessons — the agent lists courses and checks each for lessons.
Progress report: Which students in the Advanced Fitness group have not completed Module 3? — the agent queries group members and their course progress.
The LearnDash Agent is part of the Blockli Assistant plugin. All 62 tools are available through the MCP server and are compatible with any AI client that supports MCP, including Claude, ChatGPT, and custom agents.
