source_add
Add local files, URLs, pasted text, YouTube videos, or Google Drive documents to a NotebookLM notebook so they are processed and available for queries.
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.). Audio (MP3, M4A…) is transcribed and images (JPG, PNG…) are read, so a voice memo or a photo of a whiteboard becomes a queryable source.
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.
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": {
"source_type": "<source_type>"
},
"name": "source_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| file_path | No | Local file path (required for source_type="file") | |
| session_id | No | Session ID to reuse an existing session | |
| source_type | Yes | Type of source to add | |
| notebook_url | No | Notebook URL. If not provided, uses the active notebook. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The tool payload on success. The exact shape depends on the tool. | |
| error | No | Human-readable error message, present only when success is false. | |
| success | Yes | Whether the tool call succeeded. |