Create or update course assessment
upsert_course_assessmentAtomically creates or updates the course assessment and learner settings. Requires the course to have certification_mode through_assessment, explicitly requested by the user. Use a lesson quiz for a knowledge check without certification. Generate questions from the relevant chapter or course lesson context and the user goal; avoid unsupported claims, cover the important objectives, and present a concise preview before saving when intent is ambiguous. Choice refs may repeat between questions because Trainn namespaces them.
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": {
"course_id": "<course_id>",
"expected_revision": "<expected_revision>",
"idempotency_key": "<idempotency_key>",
"assessment": "<assessment>"
},
"name": "upsert_course_assessment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| assessment | Yes | ||
| idempotency_key | Yes | ||
| expected_revision | Yes |