Built LMS Help Center
MCP ServerPrompt Reference

Onboard a new-hire cohort

Create accounts for a cohort of new hires, put them in one group, and enroll each of them in an onboarding learning path.

Onboard a new-hire cohort

Create accounts for a cohort of new hires, put them in one group, and enroll each of them in an onboarding learning path.

The prompt onboard_new_hire_cohort appears in prompts/list only when the token can see every tool listed below.

Arguments

ArgumentRequiredDescription
cohort_nameyesName for the new group, for example "March 2027 hires".
learning_path_idyesUUID of the onboarding learning path.
role_idyesNumeric role id for the new accounts.
hiresyesThe hires to onboard, one per line as email, first name, last name.

Steps

  1. save_user: Create one user per hire with the given role_id and no id. Use a distinct idempotency_key per hire.
  2. save_group: Create the cohort group named cohort_name, with no id.
  3. set_group_members: Set op to "add" and add the created user ids to the group, at most 100 per call.
  4. get_group: Read the group back and confirm every created user is a member.
  5. save_path_enrollment: The API has no group-level enrollment. Call this once for each group member with learning_path_id and no id.

Tools Needed

ToolScopes
save_userpeople:write
save_grouppeople:write
set_group_memberspeople:write
get_grouppeople:read
save_path_enrollmentenrollments:write

On this page