Create quiz
quiz_createGenerate a multiple-choice quiz from notebook sources. Confirm options, then poll status and open the quiz in NotebookLM.
Instructions
Start generating a multiple-choice quiz from the notebook's sources. Uses the user's NotebookLM quota and takes several minutes, so agree on the options with the user first: with confirm=false it does nothing and returns pending_confirmation. With confirm=true it returns the artifact_id; poll studio_status until that artifact is completed. This artifact has no download file: the user opens it in the notebook in NotebookLM.
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": {
"notebook_id": "<notebook_id>",
"confirm": "<confirm>"
},
"name": "quiz_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to start generation. With false the tool only returns pending_confirmation and does nothing | |
| difficulty | No | Difficulty: easy, hard, medium (default medium) | |
| source_ids | No | Limit generation to these source IDs (from notebook_get); omit to use every source in the notebook | |
| notebook_id | Yes | Notebook ID, as returned by notebook_list or notebook_create | |
| question_count | No | Number of questions (default 5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | Human-readable outcome or next step | |
| artifact_id | No | ID of the new artifact, as listed by studio_status |