enroll_user
Enroll a user in a Canvas course by specifying course ID, user ID, and role (e.g., Student, Teacher). Optionally set enrollment state to active or invited.
Instructions
Enroll a user in a course with a specified role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | The Canvas course ID | |
| user_id | Yes | The Canvas user ID to enroll | |
| type | Yes | The enrollment type | |
| enrollment_state | No | Initial enrollment state (defaults to invited) |