Enroll learner

Add a course or other content to an existing learner's Access tab.

MCP tool thought_industries_write → enroll_learner

write Confirm

Opens the learner profile, goes to the Access tab and clicks Add Content for the content_id. The content then shows in the learner's access widget on their dashboard, and the Content Actions Log records an enrollment with the source manager_course_enrollment. Adding content the learner already has is refused. Check seats with get_course first. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: enroll_learner
NameTypeDescription
learner string required string Learner email or learner_id from list_learners.
content_id string required string Course or other content ID from list_courses.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "thought_industries_write",
    "arguments": {
      "operation": "enroll_learner",
      "arguments": {
        "learner": "priya.nair@example.com",
        "content_id": "4b1c2d3e-6a7b-4c8d-9e0f-1a2b3c4d5e6f"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "learner_id": "3f9a2b18-7c4d-4e2a-9b1f-0c5d6e7f8a90",
    "content_id": "4b1c2d3e-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
    "title": "Safety basics",
    "status": "enrolled"
  },
  "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.