add_source
Add documents, URLs, text, or YouTube videos to NotebookLM notebooks for processing and indexing to support conversations with accurate information.
Instructions
Add a source (document, URL, text, YouTube video) to the current NotebookLM notebook.
Supported source types:
file: Upload a local file (PDF, DOCX, TXT, etc.)
url: Add a web page URL
text: Paste text content directly
youtube: Add a YouTube video URL
google_drive: Add a Google Drive document link
The source will be processed and indexed for use in conversations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_type | Yes | Type of source to add | |
| file_path | No | Local file path (required for source_type="file") | |
| url | No | URL (required for source_type="url", "youtube", "google_drive") | |
| text | No | Text content (required for source_type="text") | |
| title | No | Optional title/name for the source | |
| notebook_url | No | Notebook URL. If not provided, uses the active notebook. | |
| session_id | No | Session ID to reuse an existing session |