Quiz on MasterAI Now lessons
generate_quizReturn a practice quiz made only of original MasterAI Now knowledge-check questions selected from published stage cards for topic, with options, the correct option, the published explanation and a stage citation URL. Selection is deterministic; no question is generated by a model at request time. Use it for practice or checking understanding; the answer key is included, so present the questions first if the user wants to attempt them. Do not use it to find lessons (use search_content) or to imply a score was recorded (nothing is saved).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Subject to quiz on, e.g. "attention", "tokenization", "overfitting", "kv cache". Matching is keyword-based against published stages. | |
| language | No | Locale code. Supported: en, zh, hi, es, fr, ar, tr, de. Defaults to en; any other value falls back to English and is reported as a fallback. | |
| difficulty | No | Restrict to stages labelled at this level. Omit to search the whole curriculum. | |
| questionCount | No | How many questions to return, 1-10. Defaults to 5. |