Set up a course
oncourse_setup_courseSet up the first Oncourse course for a signed-in learner who has none yet (oncourse_courses returned setupNeeded). Use the learner’s own answer about which exam they are preparing for; never guess. examIds are their picks from the course’s choose lists; activeExamId is the exam they are studying now when the course lists studyNow (any of its core exams, or the discipline they picked). Course changes after setup happen in the Oncourse app.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"courseId": "<courseId>"
},
"name": "oncourse_setup_course"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| examIds | No | ||
| courseId | Yes | ||
| activeExamId | No |