Enroll User
create_enrollmentEnroll a user in a Teachable course using user and course IDs; set confirmation only when the user requested this exact action.
Instructions
Enroll a user in a course.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_enrollment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private school profile label; not a provider identity or authorization proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| user_id | No | The unique ID of the user. | |
| course_id | No | The unique ID of the course. | |
| payload_file | No | Absolute regular non-symlink native JSON body file, at most 1 MiB. Cannot mix with payload or body flags. |