cleanup_data
Categorised preview + delete of all stored data. preservelibrary=true keeps library.json.
How to use it
cleanup_data is exposed by the Notebooklm MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the cleanup_data tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Notebooklm MCP
npx notebooklm-mcp@latestOther tools in Notebooklm MCP (20)
Add a NotebookLM share-URL to the local library with metadata. Requires explicit user confirmation.
Add a source to a notebook. v2 supports type=url (web crawl) and type=text (paste). Returns source counts before/after.
Ask a question against a notebook. Supports session reuse, citation extraction (sourceformat), and per-call browser overrides. Returns answer + provenance envelope.
Close one session by sessionid.
Save the most recent Audio Overview to destinationdir. Run generateaudio first if none exists.
Generate an Audio Overview. Optional customprompt, timeoutms (default 600 000 ms).
Auth state, session count, configuration snapshot, troubleshooting hint.
Counts and usage stats.
Fetch one notebook by id.
List every notebook in the library with metadata.
List active browser sessions with age + message count.
askquestion, gethealth, listnotebooks, selectnotebook, getnotebook
Wipe auth + log in again.
Remove from the local library (does not delete the NotebookLM notebook itself).
Reset chat history while keeping the same sessionid.
Search by name, description, topics, tags.
Set a notebook as the active default for askquestion.
First-time interactive Google login.
minimal + setupauth, listsessions, addnotebook, updatenotebook, searchnotebooks
Update name, description, topics, contenttypes, usecases, tags, or url.