complete_lesson
Record a lesson result for a learner AFTER grading its quiz/assignment. passed:true marks it done and advances; passed:false records the attempt without advancing (reteach). Always include a reflection when you have one — it's the signal that improves the course.
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": {
"learner": "<learner>",
"slug": "<slug>"
},
"name": "complete_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The lesson slug just attempted. | |
| passed | No | Did they pass the quiz/assignment? Default true. false = reteach, don't advance. | |
| learner | Yes | Same EMAIL address used in start_session. | |
| reflection | No | What confused them, what landed, or what they want next (≤1000 chars). Feeds curriculum improvement. |