List courses
Online Courses, Instructor Led Courses, Curricula and Course Bundles from the Courses report.
MCP tool absorb_lms_read → list_courses
read
Returns training the way the Courses report lists it, with its Course ID (a GUID), type and status. Filter by type and by Active or Inactive. course_id goes into list_course_enrollments, list_course_activity and enroll_users. Inactive courses are hidden from learners but keep their enrollment records.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Part of the course title. |
| type enum | enum | online_course, instructor_led_course, curriculum or course_bundle. |
| status enum | enum | active (default) or inactive. |
| limit integer | integer | Rows to return. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "absorb_lms_read",
"arguments": {
"operation": "list_courses",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"courses": [
{
"course_id": "c2d6a1f4-5b8e-4a37-9d02-7f1e3c5b8a10",
"title": "Warehouse Safety Basics",
"type": "Online Course",
"status": "Active"
},
{
"course_id": "e8b3c7d9-1a52-4f6e-b0c4-2d9a6e1f3b21",
"title": "Onboarding Path",
"type": "Curriculum",
"status": "Active"
}
]
},
"isError": false
}