generate_quiz
Generate a quiz in JSON format from NotebookLM notebook sources using multiple_choice or true_false questions. Specify number, topic, difficulty, and language to create custom assessments.
Instructions
Generate a quiz (JSON) from a NotebookLM notebook's sources.
Generates questions in batches to bypass NotebookLM's ~20 question
limit. Supports multiple_choice and true_false question types.
Args:
notebook_id: The notebook to generate questions from.
num_questions: Total number of questions to generate.
topic: Specific topic or "all sources" for everything.
difficulty: easy, medium, hard, or mixed.
output_path: Optional file path to save the JSON quiz.
cumulative: If true and output_path exists, merge with existing.
language: Language for questions (default: "es").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | all sources | |
| language | No | es | |
| cumulative | No | ||
| difficulty | No | mixed | |
| notebook_id | Yes | ||
| output_path | No | ||
| num_questions | Yes |