Query Google NotebookLM notebooks through browser automation. Use when user wants to "ask NotebookLM", "query my notebook", "get insights from sources", or interact with their NotebookLM research.
Query Google NotebookLM notebooks directly from the command line. Send questions and receive AI-synthesized responses based on your uploaded sources.
# List available NotebookLM tabs
gobbler notebooklm list
# Send a query and get response
gobbler notebooklm query "What are the main themes in these documents?"
# Get the last response
gobbler notebooklm last
# View chat history
gobbler notebooklm history --count 10
NotebookLM integration requires:
# 1. Start the relay server
gobbler relay start
# 2. Verify connection
gobbler relay status
Browser Setup:
gobbler notebooklm listgobbler notebooklm listList NotebookLM tabs in the Gobbler group.
gobbler notebooklm list
gobbler notebooklm infoGet notebook metadata (sources, messages, URL).
# Default (first NotebookLM tab)
gobbler notebooklm info
# Specific tab
gobbler notebooklm info --tab 12345
gobbler notebooklm querySend a question and wait for the AI response.
# Basic query
gobbler notebooklm query "Summarize the key findings"
# Specific notebook (by tab ID)
gobbler notebooklm query "What does the author say about X?" --tab 12345
# Extended timeout for complex queries
gobbler notebooklm query "Create a comprehensive outline" --timeout 120
gobbler notebooklm lastRetrieve the last response (useful after long queries).
gobbler notebooklm last
# From specific tab
gobbler notebooklm last --tab 12345
gobbler notebooklm historyGet recent chat messages.
# Last 5 messages (default)
gobbler notebooklm history
# Last 10 messages
gobbler notebooklm history --count 10
# All messages
gobbler notebooklm history --all
# From specific tab
gobbler notebooklm history --tab 12345 --count 20
Query your uploaded papers, documents, or notes:
# Synthesize across sources
gobbler notebooklm query "What are the common themes across all documents?"
# Extract specific information
gobbler notebooklm query "What methodology did the authors use?"
# Generate summaries
gobbler notebooklm query "Create a one-paragraph summary of each source"
For notebooks with book excerpts or full texts:
# Character analysis
gobbler notebooklm query "Describe the protagonist's character arc"
# Theme exploration
gobbler notebooklm query "What are the main themes and how do they develop?"
# Quote finding
gobbler notebooklm query "Find quotes about [topic]"
For notebooks with meeting transcripts or notes:
# Action items
gobbler notebooklm query "List all action items and who is responsible"
# Decision summary
gobbler notebooklm query "What decisions were made in these meetings?"
# Topic extraction
gobbler notebooklm query "What topics were discussed most frequently?"
Querying research sources:
# 1. Ensure relay is running
gobbler relay start
# 2. In your browser:
# - Open NotebookLM and your notebook
# - Add sources (PDFs, docs, websites)
# - Move tab to "Gobbler" group
# 3. Verify connection
gobbler notebooklm list
# 4. Query your sources
gobbler notebooklm query "What are the three most important insights from these sources?"
# 5. Save the response
gobbler notebooklm last > insights.md
Complex queries may take longer. Default timeout is 60 seconds.
# For comprehensive analysis
gobbler notebooklm query "Create a detailed outline" --timeout 120
# For quick lookups
gobbler notebooklm query "When was X published?" --timeout 30
If you have multiple NotebookLM tabs open:
# List all notebooks
gobbler notebooklm list
# Query specific notebook by tab ID
gobbler notebooklm query "Your question" --tab 12345
Without --tab, commands default to the first NotebookLM tab found.
gobbler relay start
gobbler relay status
gobbler relay restartgobbler notebooklm listThe NotebookLM UI may have changed, or the page hasn't fully loaded:
NotebookLM is taking too long:
# Increase timeout
gobbler notebooklm query "Your question" --timeout 120
Or check:
The response may still be streaming:
# Wait and get the full response
sleep 10
gobbler notebooklm last