source_add
Add a URL, text, file, or Google Drive document to a NotebookLM notebook as a source.
Instructions
Add a source to a notebook. Unified tool for all source types.
Supports: url, text, drive, file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_id | Yes | Notebook UUID | |
| source_type | Yes | Type of source to add: - url: Web page or YouTube URL - text: Pasted text content - drive: Google Drive document - file: Local file upload. Supported extensions: PDF, TXT, MD, DOCX, CSV, EPUB, MP3, M4A, WAV, AAC, OGG, OPUS, MP4, JPG, JPEG, PNG, GIF, WEBP. Image-bearing sources (PDF / JPG / PNG / etc.) feed Studio video generation's visual-crop pipeline — charts, photos, and diagrams may be extracted as on-screen aids in Video Overviews. | |
| url | No | URL to add (for source_type=url) | |
| urls | No | List of URLs to add in bulk (for source_type=url, alternative to url) | |
| text | No | Text content to add (for source_type=text) | |
| title | No | Display title (for text sources) | |
| file_path | No | Local file path (for source_type=file) | |
| document_id | No | Google Drive document ID (for source_type=drive) | |
| doc_type | No | Drive doc type: doc|slides|sheets|pdf (for source_type=drive) | doc |
| wait | No | If True, wait for source processing to complete before returning | |
| wait_timeout | No | Max seconds to wait if wait=True (default 120) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||