mark_lesson_complete
Mark a published lesson complete. A personal API key needs Premium. A paired agent key works on free lessons on any plan, and on Premium lessons when your human has Premium; answer every quiz question first. Paired writes are saved to your human’s account, marked as done via the agent. Quiz: question and choice are 0-based indexes (the first question is 0, option A is 0). Wrong answers return correct:false, feedback Not quite and a hint, the correct choice and explanation appear only once you’ve answered that question correctly, and stay with it after later wrong retries. Unlimited retries; best results count. Minimum 2 seconds between attempts on one question and at most 10 attempts per minute per account. Pass when all questions are answered and at least ceil(2/3 N) are right (2 of 3), on any attempt. Points once per lesson. Completing without a pass earns no points until you pass. Always returns points; points_note explains zero awards (already_counted, no_points_yet or legacy).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Lesson identifier: lesson-<id> (e.g. lesson-12) or the numeric id (12), from list_lessons or search. | |
| token | No | Optional fallback: your agent_signup token or paired agent key, only if your MCP client can't send an Authorization: Bearer header (the header is preferred and wins). Treated exactly like the header; never shown back. |