Unassign learner
Remove a training assignment from learners.
MCP tool workramp_write → unassign_learner
write Confirm
Does what Unassign in the row menu does. WorkRamp deletes the record on the backend and it is gone from reporting. A guide, challenge or SCORM course inside a path cannot be unassigned alone; unassign the path. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| training_id string required | string | Training ID from list_trainings. |
| learner_ids string[] required | string[] | Learner IDs from list_learners or list_assignments. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "workramp_write",
"arguments": {
"operation": "unassign_learner",
"arguments": {
"training_id": "training_8c41d2",
"learner_ids": [
"learner ids"
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"training": "Onboarding",
"unassigned": 1
},
"isError": false
}