Set enrollment complete
Set an enrollment to Completed, Passed or Failed with a date and a note.
MCP tool learnupon_write → set_enrollment_complete
write Confirm
Marks one enrollment as finished, as the Manual Enrollment Completion dialog does. status is completed, passed or failed; passed takes a score. award_badges turns on Award associated badges. A manager needs the permission to mark learners complete. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| enrollment_id string required | string | Enrollment id from list_enrollments. |
| status enum required | enum | completed, passed or failed. |
| score number | number | Score, for status passed. |
| date date | date | Completion date. Default: today. |
| notes string | string | Note saved with the completion. |
| award_badges boolean | boolean | Award associated badges. Default: false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "learnupon_write",
"arguments": {
"operation": "set_enrollment_complete",
"arguments": {
"enrollment_id": "enrollment_8c41d2",
"status": "completed"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"enrollment_id": "90433",
"status": "completed",
"date": "2026-10-20",
"notes": "Attended the Tuesday workshop"
},
"isError": false
}