download_all_artifacts
Download completed artifacts from one or all NotebookLM notebooks into organized subfolders named after each notebook.
Instructions
Download all completed studio artifacts of one notebook — or every notebook.
Creates a subdirectory of output_dir named after each notebook title and saves every completed artifact there, named after its title with the type's default extension (report → .md, mind_map → .json, video → .mp4, slide_deck → .pdf/.pptx, ...). Artifacts that are still generating or failed are skipped and listed in the result. A failure on one artifact (or one notebook in a sweep) does not stop the others.
Args: notebook_id: Notebook UUID (omit when all_notebooks=True) output_dir: Base directory for the per-notebook folders (default: cwd) artifact_types: Restrict to these types, e.g. ["video", "slide_deck", "mind_map", "report"]. Default: all types. output_format: For quiz/flashcards only: json|markdown|html slide_deck_format: For slide decks only: pdf (default) or pptx all_notebooks: Sweep every notebook in the account instead of one skip_existing: Skip artifacts whose target file already exists — makes repeated runs incremental
Returns: dict with status, output_dir, and per-artifact items (single notebook) or per-notebook outcomes (sweep), plus downloaded/failed counts
Example: download_all_artifacts(notebook_id="abc123", output_dir="exports") download_all_artifacts(all_notebooks=True, output_dir="exports", skip_existing=True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | . | |
| notebook_id | No | ||
| all_notebooks | No | ||
| output_format | No | json | |
| skip_existing | No | ||
| artifact_types | No | ||
| slide_deck_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||