{"at":"2026-11-23T02:35:36.304Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:35:37.089Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:35:37.240Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:35:37.988Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"completions":{},"prompts":{},"resources":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"notebooklm-mcp","version":"2026.5.0"}}}}
{"at":"2026-11-23T02:35:37.988Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:35:37.989Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:35:37.991Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"NotebookLM notebook Q&A via browser automation.\n\nNo active notebook is selected.\nUse list_notebooks and select_notebook to choose one, or pass notebook_url.\nNo Gemini API key is required, but browser authentication must be valid.\nIf login is required, use the setup_auth tool and verify with get_health (or ask the user to run the notebooklm.auth-setup prompt for a guided walkthrough).","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwYXRoIGQ9Ik05LjA5IDlhMyAzIDAgMCAxIDUuODMgMWMwIDItMyAzLTMgMyIvPjxsaW5lIHgxPSIxMiIgeTE9IjE3IiB4Mj0iMTIuMDEiIHkyPSIxNyIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"browser_options":{"description":"Optional browser behavior settings. Claude can control everything: visibility, typing speed, stealth mode, timeouts. Useful for debugging or fine-tuning.","properties":{"headless":{"description":"Run browser in headless mode (default: true)","type":"boolean"},"show":{"description":"Show browser window (default: from ENV or false)","type":"boolean"},"stealth":{"description":"Human-like behavior settings to avoid detection","properties":{"delay_max_ms":{"description":"Maximum delay between actions in ms (default: 400)","maximum":10000,"minimum":0,"type":"number"},"delay_min_ms":{"description":"Minimum delay between actions in ms (default: 100)","maximum":10000,"minimum":0,"type":"number"},"enabled":{"description":"Master switch for all stealth features (default: true)","type":"boolean"},"human_typing":{"description":"Human-like typing patterns (default: true)","type":"boolean"},"mouse_movements":{"description":"Realistic mouse movements (default: true)","type":"boolean"},"random_delays":{"description":"Random delays between actions (default: true)","type":"boolean"},"typing_wpm_max":{"description":"Maximum typing speed in WPM (default: 240)","maximum":600,"minimum":10,"type":"number"},"typing_wpm_min":{"description":"Minimum typing speed in WPM (default: 160)","maximum":600,"minimum":10,"type":"number"}},"type":"object"},"timeout_ms":{"description":"Browser operation timeout in milliseconds (default: 30000)","maximum":300000,"minimum":1000,"type":"number"},"viewport":{"description":"Browser viewport size","properties":{"height":{"description":"Viewport height in pixels (default: 1080)","maximum":4320,"minimum":240,"type":"number"},"width":{"description":"Viewport width in pixels (default: 1920)","maximum":7680,"minimum":320,"type":"number"}},"type":"object"}},"type":"object"},"notebook_id":{"description":"Optional notebook ID from your library. If omitted, uses the active notebook. Use list_notebooks to see available notebooks.","maxLength":128,"type":"string"},"notebook_url":{"description":"Optional notebook URL (overrides notebook_id). Use this for ad-hoc queries to notebooks not in your library.","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"question":{"description":"The question to ask NotebookLM","maxLength":10000,"minLength":1,"type":"string"},"session_id":{"description":"Optional session ID for contextual conversations. If omitted, a new session is created.","maxLength":128,"type":"string"},"show_browser":{"description":"Show browser window for debugging (simple version). For advanced control (typing speed, stealth, etc.), use browser_options instead.","type":"boolean"}},"required":["question"],"type":"object"},"name":"ask_question","title":"Ask NotebookLM"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add a NotebookLM notebook to the local library after explicit user confirmation. Provide the NotebookLM URL plus concise metadata: name, description, topics, and optional use cases/tags. Do not infer missing metadata; ask the user first.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTIiIHkxPSI1IiB4Mj0iMTIiIHkyPSIxOSIvPjxsaW5lIHgxPSI1IiB5MT0iMTIiIHgyPSIxOSIgeTI9IjEyIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"content_types":{"description":"Types of content (e.g., ['documentation', 'examples', 'best practices'])","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"description":{"description":"What knowledge/content is in this notebook","maxLength":1000,"type":"string"},"name":{"description":"Display name for the notebook (e.g., 'n8n Documentation')","maxLength":200,"type":"string"},"tags":{"description":"Optional tags for organization","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"topics":{"description":"Topics covered in this notebook","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"url":{"description":"The NotebookLM notebook URL (must be a NotebookLM URL, e.g. https://notebook.google.com/notebook/<id>)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"use_cases":{"description":"When should Claude use this notebook (e.g., ['Implementing n8n workflows'])","items":{"maxLength":200,"type":"string"},"maxItems":20,"type":"array"}},"required":["url","name","description","topics"],"type":"object"},"name":"add_notebook","title":"Add Notebook"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List all library notebooks with metadata (name, topics, use cases, URL). Use this to present options, then ask which notebook to use for the task.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iOCIgeTE9IjYiIHgyPSIyMSIgeTI9IjYiLz48bGluZSB4MT0iOCIgeTE9IjEyIiB4Mj0iMjEiIHkyPSIxMiIvPjxsaW5lIHgxPSI4IiB5MT0iMTgiIHgyPSIyMSIgeTI9IjE4Ii8+PGxpbmUgeDE9IjMiIHkxPSI2IiB4Mj0iMy4wMSIgeTI9IjYiLz48bGluZSB4MT0iMyIgeTE9IjEyIiB4Mj0iMy4wMSIgeTI9IjEyIi8+PGxpbmUgeDE9IjMiIHkxPSIxOCIgeDI9IjMuMDEiIHkyPSIxOCIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_notebooks","title":"List Notebooks"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Get detailed information about a specific notebook by ID","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNNCAxOS41QTIuNSAyLjUgMCAwIDEgNi41IDE3SDIwIi8+PHBhdGggZD0iTTYuNSAySDIwdjIwSDYuNUEyLjUgMi41IDAgMCAxIDQgMTkuNXYtMTVBMi41IDIuNSAwIDAgMSA2LjUgMnoiLz48L3N2Zz4="}],"inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"The notebook ID","maxLength":128,"type":"string"}},"required":["id"],"type":"object"},"name":"get_notebook","title":"Get Notebook"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Set a notebook as the active default (used when ask_question has no notebook_id).\n\n## When To Use\n- User switches context: \"Let's work on React now\"\n- User asks explicitly to activate a notebook\n- Obvious task change requires another notebook\n\n## Auto-Switching\n- Safe to auto-switch if the context is clear and you announce it:\n  \"Switching to React notebook for this task...\"\n- If ambiguous, ask: \"Switch to [notebook] for this task?\"\n\n## Example\nUser: \"Now let's build the React frontend\"\nYou: \"Switching to React notebook...\" (call select_notebook)","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"The notebook ID to activate","type":"string"}},"required":["id"],"type":"object"},"name":"select_notebook","title":"Select Notebook"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Update notebook metadata based on user intent.\n\n## Pattern\n1) Identify target notebook and fields (topics, description, use_cases, tags, url)\n2) Propose the exact change back to the user\n3) After explicit confirmation, call this tool\n\n## Examples\n- User: \"React notebook also covers Next.js 14\"\n  You: \"Add 'Next.js 14' to topics for React?\"\n  User: \"Yes\" → call update_notebook\n\n- User: \"Include error handling in n8n description\"\n  You: \"Update the n8n description to mention error handling?\"\n  User: \"Yes\" → call update_notebook\n\nTip: You may update multiple fields at once if requested.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMTEgNEg0YTIgMiAwIDAgMC0yIDJ2MTRhMiAyIDAgMCAwIDIgMmgxNGEyIDIgMCAwIDAgMi0ydi03Ii8+PHBhdGggZD0iTTE4LjUgMi41YTIuMTIxIDIuMTIxIDAgMCAxIDMgM0wxMiAxNWwtNCAxIDEtNCA5LjUtOS41eiIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"content_types":{"description":"New content types","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"description":{"description":"New description","maxLength":1000,"type":"string"},"id":{"description":"The notebook ID to update","maxLength":128,"type":"string"},"name":{"description":"New display name","maxLength":200,"type":"string"},"tags":{"description":"New tags","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"topics":{"description":"New topics list","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"},"url":{"description":"New notebook URL (must be a NotebookLM URL, e.g. https://notebook.google.com/notebook/<id>)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"use_cases":{"description":"New use cases","items":{"maxLength":200,"type":"string"},"maxItems":20,"type":"array"}},"required":["id"],"type":"object"},"name":"update_notebook","title":"Update Notebook"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Dangerous — requires explicit user confirmation.\n\n## Confirmation Workflow\n1) User requests removal (\"Remove the React notebook\")\n2) Look up full name to confirm\n3) Ask: \"Remove '[notebook_name]' from your library? (Does not delete the actual NotebookLM notebook)\"\n4) Only on explicit \"Yes\" → call remove_notebook\n\nNever remove without permission or based on assumptions.\n\nExample:\nUser: \"Delete the old React notebook\"\nYou: \"Remove 'React Best Practices' from your library?\"\nUser: \"Yes\" → call remove_notebook","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTgiIHkxPSI2IiB4Mj0iNiIgeTI9IjE4Ii8+PGxpbmUgeDE9IjYiIHkxPSI2IiB4Mj0iMTgiIHkyPSIxOCIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"The notebook ID to remove","type":"string"}},"required":["id"],"type":"object"},"name":"remove_notebook","title":"Remove Notebook"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Search library by query (name, description, topics, tags). Use to propose relevant notebooks for the task and then ask which to use.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB5MT0iMjEiIHgyPSIxNi42NSIgeTI9IjE2LjY1Ii8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"query":{"description":"Search query","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_notebooks","title":"Search Notebooks"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Create a new NotebookLM notebook with sources programmatically.\n\n## What This Tool Does\n- Creates a NEW notebook in your NotebookLM account\n- Uploads sources (URLs, text, files) to the notebook\n- Returns the notebook URL for immediate use\n- Optionally adds to your local library\n\n## Supported Source Types\n- **url**: Web page URL (documentation, articles, etc.)\n- **text**: Raw text content (code, notes, etc.)\n- **file**: Local file path (PDF, DOCX, TXT)\n\n## Example Usage\n\nCreate a notebook from API documentation:\n```json\n{\n  \"name\": \"React Docs\",\n  \"sources\": [\n    { \"type\": \"url\", \"value\": \"https://react.dev/reference/react\" }\n  ]\n}\n```\n\nCreate a notebook with multiple sources:\n```json\n{\n  \"name\": \"Security Research\",\n  \"sources\": [\n    { \"type\": \"url\", \"value\": \"https://owasp.org/Top10\" },\n    { \"type\": \"file\", \"value\": \"/path/to/security-report.pdf\" },\n    { \"type\": \"text\", \"value\": \"Custom notes...\", \"title\": \"My Notes\" }\n  ],\n  \"description\": \"Security best practices and research\",\n  \"topics\": [\"security\", \"owasp\", \"best-practices\"]\n}\n```\n\n## NotebookLM Limits (Free Tier)\n- 100 notebooks maximum\n- 50 sources per notebook\n- 500k words per source\n- 50 queries per day\n\n## Notes\n- Requires authentication (run setup_auth first)\n- Creates notebook with sharing set to private by default\n- Large files may take longer to process","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTIiIHkxPSI1IiB4Mj0iMTIiIHkyPSIxOSIvPjxsaW5lIHgxPSI1IiB5MT0iMTIiIHgyPSIxOSIgeTI9IjEyIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"auto_add_to_library":{"description":"Whether to automatically add the created notebook to your library (default: true)","type":"boolean"},"browser_options":{"description":"Optional browser settings for debugging","properties":{"headless":{"description":"Run browser in headless mode (default: true)","type":"boolean"},"show":{"description":"Show browser window for debugging","type":"boolean"},"timeout_ms":{"description":"Timeout in milliseconds (default: 30000)","type":"number"}},"type":"object"},"description":{"description":"Optional description for the notebook in your library","maxLength":1000,"type":"string"},"name":{"description":"Display name for the new notebook","maxLength":200,"type":"string"},"show_browser":{"description":"Show browser window (shorthand for browser_options.show)","type":"boolean"},"sources":{"description":"Array of sources to add to the notebook","items":{"properties":{"title":{"description":"Optional title for text sources","maxLength":200,"type":"string"},"type":{"description":"Source type: url, text, or file","enum":["url","text","file"],"type":"string"},"value":{"description":"URL, text content, or file path depending on type","maxLength":5000,"type":"string"}},"required":["type","value"],"type":"object"},"maxItems":50,"type":"array"},"topics":{"description":"Optional topics for categorization in your library","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"}},"required":["name","sources"],"type":"object"},"name":"create_notebook","title":"Create Notebook"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Sync your local library with actual NotebookLM notebooks.\n\n## What This Tool Does\n- Navigates to NotebookLM and extracts all your notebooks\n- Compares with local library entries\n- Detects stale entries (notebooks deleted or URLs changed)\n- Identifies notebooks not in your library\n- Optionally auto-removes stale entries\n\n## When To Use\n- Library seems out of sync with NotebookLM\n- After deleting notebooks in NotebookLM\n- To discover new notebooks to add\n- Before setting up automation workflows\n\n## Output\nReturns a sync report with:\n- **matched**: Library entries that match actual notebooks\n- **staleEntries**: Library entries with no matching notebook (candidates for removal)\n- **missingNotebooks**: NotebookLM notebooks not in library (candidates for adding)\n- **suggestions**: Recommended actions\n\n## Example Usage\n```json\n{ \"auto_fix\": false }\n```\n\nWith auto-fix to remove stale entries:\n```json\n{ \"auto_fix\": true }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSIyMyA0IDIzIDEwIDE3IDEwIi8+PHBvbHlsaW5lIHBvaW50cz0iMSAyMCAxIDE0IDcgMTQiLz48cGF0aCBkPSJNMy41MSA5YTkgOSAwIDAgMSAxNC44NS0zLjM2TDIzIDEwTTEgMTRsNC42NCA0LjM2QTkgOSAwIDAgMCAyMC40OSAxNSIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"auto_fix":{"description":"Automatically remove stale library entries (default: false)","type":"boolean"},"show_browser":{"description":"Show browser window for debugging","type":"boolean"}},"type":"object"},"name":"sync_library","title":"Sync Library"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List sources in a notebook. Provide notebook_id or notebook_url; if neither is provided, the active notebook from the local library is used. Returns source id, title, type, and status.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iOCIgeTE9IjYiIHgyPSIyMSIgeTI9IjYiLz48bGluZSB4MT0iOCIgeTE9IjEyIiB4Mj0iMjEiIHkyPSIxMiIvPjxsaW5lIHgxPSI4IiB5MT0iMTgiIHgyPSIyMSIgeTI9IjE4Ii8+PGxpbmUgeDE9IjMiIHkxPSI2IiB4Mj0iMy4wMSIgeTI9IjYiLz48bGluZSB4MT0iMyIgeTE9IjEyIiB4Mj0iMy4wMSIgeTI9IjEyIi8+PGxpbmUgeDE9IjMiIHkxPSIxOCIgeDI9IjMuMDEiIHkyPSIxOCIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","maxLength":128,"type":"string"},"notebook_url":{"description":"Direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"}},"type":"object"},"name":"list_sources","title":"List Sources"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Add a source to an existing NotebookLM notebook.\n\nIf neither `notebook_id` nor `notebook_url` is provided, this tool uses the currently active notebook from the local library.\n\n## Source Types\n- **url**: Web page URL\n- **text**: Text content (paste)\n- **file**: Local file path (PDF, DOCX, TXT)\n\n## Example\n```json\n{\n  \"notebook_id\": \"my-notebook\",\n  \"source\": {\n    \"type\": \"url\",\n    \"value\": \"https://docs.example.com/api\"\n  }\n}\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTIiIHkxPSI1IiB4Mj0iMTIiIHkyPSIxOSIvPjxsaW5lIHgxPSI1IiB5MT0iMTIiIHgyPSIxOSIgeTI9IjEyIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","maxLength":128,"type":"string"},"notebook_url":{"description":"Direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"source":{"properties":{"title":{"description":"Optional title for text sources","maxLength":200,"type":"string"},"type":{"description":"Source type","enum":["url","text","file"],"type":"string"},"value":{"description":"URL, text content, or file path","maxLength":5000,"type":"string"}},"required":["type","value"],"type":"object"}},"required":["source"],"type":"object"},"name":"add_source","title":"Add Source"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Remove a source from a NotebookLM notebook.\n\nIf neither `notebook_id` nor `notebook_url` is provided, this tool uses the currently active notebook from the local library.\n\n## Usage\n1. First call list_sources to get source IDs\n2. Then call remove_source with the source ID\n\n## Example\n```json\n{\n  \"notebook_id\": \"my-notebook\",\n  \"source_id\": \"source-0\"\n}\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTgiIHkxPSI2IiB4Mj0iNiIgeTI9IjE4Ii8+PGxpbmUgeDE9IjYiIHkxPSI2IiB4Mj0iMTgiIHkyPSIxOCIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","maxLength":128,"type":"string"},"notebook_url":{"description":"Direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"source_id":{"description":"Source ID from list_sources (e.g., 'source-0')","maxLength":128,"type":"string"}},"required":["source_id"],"type":"object"},"name":"remove_source","title":"Remove Source"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Create multiple NotebookLM notebooks in one operation.\n\n## What This Tool Does\n- Creates up to 10 notebooks in a single batch operation\n- Reports progress for each notebook\n- Optionally continues on error or stops on first failure\n- Auto-adds created notebooks to your library\n\n## Example Usage\n```json\n{\n  \"notebooks\": [\n    {\n      \"name\": \"React Documentation\",\n      \"sources\": [\n        { \"type\": \"url\", \"value\": \"https://react.dev/reference\" }\n      ],\n      \"topics\": [\"react\", \"frontend\"]\n    },\n    {\n      \"name\": \"Node.js API\",\n      \"sources\": [\n        { \"type\": \"url\", \"value\": \"https://nodejs.org/api/\" }\n      ],\n      \"topics\": [\"nodejs\", \"backend\"]\n    }\n  ],\n  \"stop_on_error\": false\n}\n```\n\n## Limits\n- Maximum 10 notebooks per batch\n- Each notebook follows individual source limits (50-600 based on tier)\n- Delays between notebooks to avoid rate limiting\n\n## Returns\nSummary with:\n- total: Number of notebooks attempted\n- succeeded: Successfully created count\n- failed: Failed count\n- results: Array of individual results","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTIiIHkxPSI1IiB4Mj0iMTIiIHkyPSIxOSIvPjxsaW5lIHgxPSI1IiB5MT0iMTIiIHgyPSIxOSIgeTI9IjEyIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"notebooks":{"description":"Array of notebooks to create (max 10)","items":{"properties":{"description":{"description":"Optional description for the notebook","maxLength":1000,"type":"string"},"name":{"description":"Display name for the notebook","maxLength":200,"type":"string"},"sources":{"description":"Sources to add to this notebook","items":{"properties":{"title":{"description":"Optional title for text sources","maxLength":200,"type":"string"},"type":{"description":"Source type","enum":["url","text","file"],"type":"string"},"value":{"description":"URL, text content, or file path","maxLength":5000,"type":"string"}},"required":["type","value"],"type":"object"},"maxItems":20,"type":"array"},"topics":{"description":"Optional topics for categorization","items":{"maxLength":100,"type":"string"},"maxItems":50,"type":"array"}},"required":["name","sources"],"type":"object"},"maxItems":10,"type":"array"},"show_browser":{"description":"Show browser window for debugging","type":"boolean"},"stop_on_error":{"description":"Stop batch if any notebook fails (default: false)","type":"boolean"}},"required":["notebooks"],"type":"object"},"name":"batch_create_notebooks","title":"Batch Create"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Generate an AI-powered audio overview (podcast-style) for a notebook.\n\n## What This Tool Does\n- Triggers NotebookLM's audio overview generation\n- Audio overviews are ~5-15 minute podcast-style summaries\n- Generation takes 2-5 minutes typically\n- Returns immediately with status (check with get_audio_status)\n\n## Requirements\n- Notebook must have at least one source\n- Audio generation may not be available on all notebooks\n\n## Example\n```json\n{ \"notebook_id\": \"my-research\" }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNOSAxOFY1bDEyLTJ2MTMiLz48Y2lyY2xlIGN4PSI2IiBjeT0iMTgiIHI9IjMiLz48Y2lyY2xlIGN4PSIxOCIgY3k9IjE2IiByPSIzIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"}},"type":"object"},"name":"generate_audio_overview","title":"Generate Audio"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check the audio overview generation status for a notebook.\n\n## Returns\n- status: \"not_started\" | \"generating\" | \"ready\" | \"failed\" | \"unknown\"\n- progress: Generation progress (0-100) if generating\n- duration: Audio duration in seconds if ready\n\n## Example\n```json\n{ \"notebook_id\": \"my-research\" }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNOSAxOFY1bDEyLTJ2MTMiLz48Y2lyY2xlIGN4PSI2IiBjeT0iMTgiIHI9IjMiLz48Y2lyY2xlIGN4PSIxOCIgY3k9IjE2IiByPSIzIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"}},"type":"object"},"name":"get_audio_status","title":"Audio Status"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Download the generated audio overview file.\n\n## Requirements\n- Audio must be in \"ready\" status\n- Use get_audio_status to check before downloading\n\n## Output\nDownloads to specified path or ~/notebooklm-audio-{timestamp}.mp3\n\n## Example\n```json\n{\n  \"notebook_id\": \"my-research\",\n  \"output_path\": \"/path/to/save/podcast.mp3\"\n}\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMjEgMTV2NGEyIDIgMCAwIDEtMiAySDVhMiAyIDAgMCAxLTItMnYtNCIvPjxwb2x5bGluZSBwb2ludHM9IjcgMTAgMTIgMTUgMTcgMTAiLz48bGluZSB4MT0iMTIiIHkxPSIxNSIgeDI9IjEyIiB5Mj0iMyIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"output_path":{"description":"Optional output file path (absolute, no .. or ~ allowed)","maxLength":500,"pattern":"^(?!.*\\.\\.)(?!~)/.+","type":"string"}},"type":"object"},"name":"download_audio","title":"Download Audio"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Get server health status including authentication state, active sessions, and configuration. Use this to verify the server is ready before starting research workflows.\n\n**Deep Check Mode (v2026.1.1)**\nSet `deep_check: true` to actually verify the NotebookLM chat UI loads. This catches stale sessions where cookies exist but the UI won't load. Returns `chat_ui_accessible: true/false`.\n\nIf authenticated=false and having persistent issues:\nSuggest to the user that a fresh start (cleanup_data with preserve_library=true, followed by setup_auth) may help, and ask for their confirmation before running any cleanup, since cleanup_data deletes browser/session data.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMjAuODQgNC42MWE1LjUgNS41IDAgMCAwLTcuNzggMEwxMiA1LjY3bC0xLjA2LTEuMDZhNS41IDUuNSAwIDAgMC03Ljc4IDcuNzhsMS4wNiAxLjA2TDEyIDIxLjIzbDcuNzgtNy43OCAxLjA2LTEuMDZhNS41IDUuNSAwIDAgMCAwLTcuNzh6Ii8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"deep_check":{"description":"If true, actually navigates to NotebookLM and verifies the chat UI loads. More reliable but slower (~5s). Use this before important query sessions.","type":"boolean"},"notebook_id":{"description":"Notebook to check (for deep_check). Defaults to active notebook or first available.","type":"string"}},"type":"object"},"name":"get_health","title":"Health Check"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Google authentication for NotebookLM access - opens a browser window for manual login to your Google account. Returns immediately after opening the browser. You have up to 10 minutes to complete the login. Use 'get_health' tool afterwards to verify authentication was saved successfully. Use this for first-time authentication or when auto-login credentials are not available. For switching accounts or rate-limit workarounds, use 're_auth' tool instead.\n\nTROUBLESHOOTING for persistent auth issues:\nIf setup_auth fails or you encounter browser/session issues, suggest these steps to the user and get their confirmation before running any cleanup (cleanup_data deletes browser/session data):\n1. Ask the user to close ALL Chrome/Chromium instances\n2. Ask the user before running cleanup_data(confirm=true, preserve_library=true) to clean old data\n3. Run setup_auth again for a fresh start\nThis helps resolve conflicts from old browser sessions and installation data.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMjEgMmwtMiAybS03LjYxIDcuNjFhNS41IDUuNSAwIDEgMS03Ljc3OCA3Ljc3OCA1LjUgNS41IDAgMCAxIDcuNzc3LTcuNzc3em0wIDBMMTUuNSA3LjVtMCAwbDMgM0wyMiA3bC0zLTNtLTMuNSAzLjVMMTkgNCIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"browser_options":{"additionalProperties":false,"description":"Optional browser settings. Control visibility, timeouts, and stealth behavior.","properties":{"headless":{"description":"Run browser in headless mode (default: false for setup)","type":"boolean"},"show":{"description":"Show browser window (default: true for setup)","type":"boolean"},"timeout_ms":{"description":"Browser operation timeout in milliseconds (default: 30000)","type":"number"}},"type":"object"},"show_browser":{"description":"Show browser window (simple version). Default: true for setup. For advanced control, use browser_options instead.","type":"boolean"}},"type":"object"},"name":"setup_auth","title":"Setup Auth"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Switch to a different Google account or re-authenticate. Use this when:\n- NotebookLM rate limit is reached (50 queries/day for free accounts)\n- You want to switch to a different Google account\n- Authentication is broken and needs a fresh start\n\nThis will:\n1. Close all active browser sessions\n2. Delete all saved authentication data (cookies, Chrome profile)\n3. Open browser for fresh Google login\n\nAfter completion, use 'get_health' to verify authentication.\n\nTROUBLESHOOTING for persistent auth issues:\nIf re_auth fails repeatedly, suggest these steps to the user and ask for their confirmation before running any cleanup (cleanup_data deletes browser/session and installation data):\n1. Ask the user to close ALL Chrome/Chromium instances\n2. Run cleanup_data(confirm=false, preserve_library=true) to preview the files that would be removed\n3. Only after the user reviews the preview and confirms, run cleanup_data(confirm=true, preserve_library=true) to clean everything except the library\n4. Run re_auth again for a completely fresh start\nThis removes old installation data and browser sessions that can cause conflicts.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMjEgMmwtMiAybS03LjYxIDcuNjFhNS41IDUuNSAwIDEgMS03Ljc3OCA3Ljc3OCA1LjUgNS41IDAgMCAxIDcuNzc3LTcuNzc3em0wIDBMMTUuNSA3LjVtMCAwbDMgM0wyMiA3bC0zLTNtLTMuNSAzLjVMMTkgNCIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"browser_options":{"additionalProperties":false,"description":"Optional browser settings. Control visibility, timeouts, and stealth behavior.","properties":{"headless":{"description":"Run browser in headless mode (default: false for re-auth)","type":"boolean"},"show":{"description":"Show browser window (default: true for re-auth)","type":"boolean"},"timeout_ms":{"description":"Browser operation timeout in milliseconds (default: 30000)","type":"number"}},"type":"object"},"show_browser":{"description":"Show browser window (simple version). Default: true for re-auth. For advanced control, use browser_options instead.","type":"boolean"}},"type":"object"},"name":"re_auth","title":"Re-authenticate"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Get current quota status including license tier, usage, and limits.\n\nReturns:\n- tier: 'free', 'pro', 'ultra', or 'unknown'\n- notebooks: used/limit/remaining/percent\n- sources: limit per notebook\n- queries: used/limit/remaining/percent/should_stop/reset_time\n- warnings: array of warning messages\n\nQuota Limits by Tier:\n- Free: 100 notebooks, 50 sources/notebook, 50 queries/day\n- Pro: 500 notebooks, 300 sources/notebook, 500 queries/day\n- Ultra: 500 notebooks, 600 sources/notebook, 5000 queries/day\n\nUse sync=true to fetch actual quota from Google's NotebookLM UI (requires browser). Without sync, returns locally tracked counts which may differ if you used NotebookLM directly in browser. Query counts reset daily at midnight.","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48ZWxsaXBzZSBjeD0iMTIiIGN5PSI1IiByeD0iOSIgcnk9IjMiLz48cGF0aCBkPSJNMjEgMTJjMCAxLjY2LTQgMy05IDNzLTktMS4zNC05LTMiLz48cGF0aCBkPSJNMyA1djE0YzAgMS42NiA0IDMgOSAzczktMS4zNCA5LTNWNSIvPjwvc3ZnPg=="}],"inputSchema":{"additionalProperties":false,"properties":{"sync":{"description":"If true, navigate to NotebookLM and fetch actual quota from Google's UI. More accurate but requires browser automation. Default: false (use local tracking).","type":"boolean"}},"type":"object"},"name":"get_quota","title":"Get Quota"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Generate an AI-powered Video Overview for a notebook.\n\n## What This Tool Does\n- Opens the Studio panel in NotebookLM\n- Generates a visual video summary of notebook content\n- Supports multiple visual styles and formats\n- Generation takes 3-10 minutes typically\n- Returns immediately with status (check with get_video_status)\n- NotebookLM does not currently expose a supported video download path through this MCP server; use the NotebookLM UI to download ready videos.\n\n## Visual Styles\n- **auto-select** — Let NotebookLM choose the best style (default)\n- **custom** — Custom visual style\n- **classic** — Classic presentation style\n- **whiteboard** — Hand-drawn whiteboard style\n- **kawaii** — Cute kawaii style\n- **anime** — Anime-inspired visuals\n- **watercolour** — Watercolour painting style\n- **retro-print** — Retro print aesthetic\n- **heritage** — Heritage/traditional style\n- **paper-craft** — Paper-craft visual style\n\n## Formats\n- **explainer** — Full explanation (5-15 min, default)\n- **brief** — Quick summary (1-3 min)\n\n## Requirements\n- Notebook must have at least one source\n- Authentication required (run setup_auth first)\n\n## Example\n```json\n{ \"notebook_id\": \"my-research\", \"style\": \"whiteboard\", \"format\": \"brief\" }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWdvbiBwb2ludHM9IjIzIDcgMTYgMTIgMjMgMTcgMjMgNyIvPjxyZWN0IHg9IjEiIHk9IjUiIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNCIgcng9IjIiIHJ5PSIyIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"format":{"default":"explainer","description":"Video format (explainer = full, brief = short summary)","enum":["explainer","brief"],"type":"string"},"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"},"style":{"default":"auto-select","description":"Visual style for the video overview","enum":["auto-select","custom","classic","whiteboard","kawaii","anime","watercolour","retro-print","heritage","paper-craft"],"type":"string"}},"type":"object"},"name":"generate_video_overview","title":"Generate Video"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check the Video Overview generation status for a notebook.\n\n## Returns\n- status: \"not_started\" | \"generating\" | \"ready\" | \"failed\" | \"unknown\"\n- progress: Generation progress (0-100) if generating\n- duration: Video duration in seconds if ready\n\n## Example\n```json\n{ \"notebook_id\": \"my-research\" }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWdvbiBwb2ludHM9IjIzIDcgMTYgMTIgMjMgMTcgMjMgNyIvPjxyZWN0IHg9IjEiIHk9IjUiIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNCIgcng9IjIiIHJ5PSIyIi8+PC9zdmc+"}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"}},"type":"object"},"name":"get_video_status","title":"Video Status"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Generate a structured Data Table from notebook sources.\n\n## What This Tool Does\n- Opens the Studio panel in NotebookLM\n- Generates a structured tabular extraction from notebook content\n- Tables organize key information from sources into rows and columns\n- Generation typically takes 1-3 minutes\n- Returns immediately with status (check with get_data_table)\n\n## Requirements\n- Notebook must have at least one source\n- Authentication required (run setup_auth first)\n\n## Example\n```json\n{ \"notebook_id\": \"my-research\" }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cmVjdCB4PSIzIiB5PSIzIiB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHJ4PSIyIiByeT0iMiIvPjxsaW5lIHgxPSIzIiB5MT0iOSIgeDI9IjIxIiB5Mj0iOSIvPjxsaW5lIHgxPSIzIiB5MT0iMTUiIHgyPSIyMSIgeTI9IjE1Ii8+PGxpbmUgeDE9IjkiIHkxPSIzIiB4Mj0iOSIgeTI9IjIxIi8+PGxpbmUgeDE9IjE1IiB5MT0iMyIgeDI9IjE1IiB5Mj0iMjEiLz48L3N2Zz4="}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"}},"type":"object"},"name":"generate_data_table","title":"Generate Table"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Extract the generated Data Table content from a notebook.\n\n## What This Tool Does\n- Navigates to the notebook's Studio panel\n- Extracts the table data (headers and rows) as structured JSON\n- Returns the full table content for analysis\n\n## Returns\n- table.headers: Column headers\n- table.rows: Array of row arrays\n- table.totalRows: Number of rows\n- table.totalColumns: Number of columns\n\n## Requirements\n- Data table must be generated first (use generate_data_table)\n- Returns error if table is not yet ready\n\n## Example\n```json\n{ \"notebook_id\": \"my-research\" }\n```","icons":[{"mimeType":"image/svg+xml","src":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cmVjdCB4PSIzIiB5PSIzIiB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHJ4PSIyIiByeT0iMiIvPjxsaW5lIHgxPSIzIiB5MT0iOSIgeDI9IjIxIiB5Mj0iOSIvPjxsaW5lIHgxPSIzIiB5MT0iMTUiIHgyPSIyMSIgeTI9IjE1Ii8+PGxpbmUgeDE9IjkiIHkxPSIzIiB4Mj0iOSIgeTI9IjIxIi8+PGxpbmUgeDE9IjE1IiB5MT0iMyIgeDI9IjE1IiB5Mj0iMjEiLz48L3N2Zz4="}],"inputSchema":{"additionalProperties":false,"properties":{"notebook_id":{"description":"Library notebook ID","type":"string"},"notebook_url":{"description":"Or direct notebook URL (overrides notebook_id)","maxLength":512,"pattern":"^https://notebook(?:lm)?\\.google\\.(?:[a-z]{2,3}|[a-z]{2,3}\\.[a-z]{2})/","type":"string"}},"type":"object"},"name":"get_data_table","title":"Get Table"}]}}}
