List courses

Courses of the portal with name and published or draft status.

MCP tool learnupon_read → list_courses

read

Returns the courses in the portal with their status. Only published courses can take enrollments: LearnUpon does not enroll anyone, individual or group, on a draft. Use course_id in the enrollment tools.

Parameters

Parameters: list_courses
NameTypeDescription
query string string Part of the course name.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "learnupon_read",
    "arguments": {
      "operation": "list_courses",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "courses": [
      {
        "course_id": "10233",
        "name": "Forklift safety",
        "status": "published"
      },
      {
        "course_id": "10240",
        "name": "Data privacy basics",
        "status": "published"
      },
      {
        "course_id": "10251",
        "name": "Workshop attendance",
        "status": "draft"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.