source_add
Add any source type (URL, text, Google Drive, or file) to a NotebookLM notebook. Automatically checks for paywalls on URLs and can wait for processing completion.
Instructions
Add a source to a notebook. Unified tool for all source types.
Supports: url, text, drive, file
For URL sources, a paywall/login check is performed before adding. If the URL appears to require authentication or a subscription, the tool returns a "paywall_detected" status with instructions. Set skip_paywall_check=True to bypass (e.g. the user confirms they have an account on that site).
Args: notebook_id: Notebook UUID source_type: Type of source to add: - url: Web page or YouTube URL - text: Pasted text content - drive: Google Drive document - file: Local file upload (PDF, text, audio) url: URL to add (for source_type=url) urls: List of URLs to add in bulk (for source_type=url, alternative to url) text: Text content to add (for source_type=text) title: Display title (for text sources) file_path: Local file path (for source_type=file) document_id: Google Drive document ID (for source_type=drive) doc_type: Drive doc type: doc|slides|sheets|pdf (for source_type=drive) wait: If True, wait for source processing to complete before returning wait_timeout: Max seconds to wait if wait=True (default 120) skip_paywall_check: If True, skip paywall/login check and add URL anyway
Example: source_add(notebook_id="abc", source_type="url", url="https://example.com") source_add(notebook_id="abc", source_type="url", urls=["https://a.com", "https://b.com"]) source_add(notebook_id="abc", source_type="url", url="https://ft.com/article", skip_paywall_check=True) source_add(notebook_id="abc", source_type="file", file_path="/path/to/doc.pdf", wait=True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_id | Yes | ||
| source_type | Yes | ||
| url | No | ||
| urls | No | ||
| text | No | ||
| title | No | ||
| file_path | No | ||
| document_id | No | ||
| doc_type | No | doc | |
| wait | No | ||
| wait_timeout | No | ||
| skip_paywall_check | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||