Approve enrollment requests

Approve pending course enrollment requests, one or many.

MCP tool absorb_lms_write → approve_enrollment_requests

write Confirm

Approves the listed requests as the Approve and mass Approve actions of the Course Approvals report do. The learner gets access to the course and Absorb sends its standard Enrollment message. Requests that were handled meanwhile are skipped and listed. Available actions depend on your Admin role. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: approve_enrollment_requests
NameTypeDescription
request_ids array required array request_id values from list_course_approvals.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "absorb_lms_write",
    "arguments": {
      "operation": "approve_enrollment_requests",
      "arguments": {
        "request_ids": [
          "a41f8c2d-6e07-4b93-8d15-3c7e9a2b5f01",
          "b52a9d3e-7f18-4ca4-9e26-4d8f0b3c6a12"
        ]
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "approved": [
      {
        "request_id": "a41f8c2d-6e07-4b93-8d15-3c7e9a2b5f01",
        "learner": "Priya Nair",
        "course": "Data Privacy Essentials"
      },
      {
        "request_id": "b52a9d3e-7f18-4ca4-9e26-4d8f0b3c6a12",
        "learner": "Luis Ortega",
        "course": "Data Privacy Essentials"
      }
    ],
    "skipped": []
  },
  "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.