sourcebolt
v0.3.3Fast MCP server for Google NotebookLM: notebooks, sources, cited chat, research.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
account_settings
Read the account's quota windows, or set the output language when output_language is given. The language setting slot is not live-verified (the call is sent, but Google may ignore or reject it).
| Parameter | Type | Description |
|---|---|---|
output_language | string | language code to set, for example en or de; omit to only read |
auth_login
Not available through MCP: sign-in needs the local credential store, and cookies should not pass through a chat. Returns UNSUPPORTED_BY_TRANSPORT with the CLI command to run instead (sourcebolt login --import, --browser or --attach).
| Parameter | Type | Description |
|---|---|---|
method * | string | import (cookies or file), browser or attach |
file | string | path of a cookie export file (method import) |
host | string | NotebookLM host, for example notebook.google.com |
profile | string | account profile name |
auth_logout
Not available through MCP: the credential store is only reachable from the CLI. Returns UNSUPPORTED_BY_TRANSPORT with the command to run instead (sourcebolt logout).
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | must be true to delete the stored session |
profile | string | account profile name |
chat_ask
Ask a question about a notebook's sources. Streams partial text as progress notifications. Returns the answer, citations (source, cited text, UTF-16 offsets) and the conversation id. save_as_note also saves the answer as a note (note_id, or note_error when it could not be saved). wait=false returns a job_id; poll with chat_status. Not retried after sending.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
question * | string | the question to ask |
conversation_id | string | continue this conversation; default is the notebook's newest thread |
new_conversation | boolean | start a fresh conversation instead of the default thread |
save_as_note | boolean | also save the answer as a note, as the web app's Save to note does (the server picks the note title) |
sources | null | array | restrict the answer to these sources (id, id prefix or title); default all sources |
wait | null | boolean | wait for the answer (default true); false returns a job_id to poll with chat_status |
chat_configure
Change a notebook's chat settings: mode (default, learning_guide, or custom with custom_prompt) and response_length (default, longer or shorter). Unset fields keep their value. mode default with response_length default resets the notebook to the web app's defaults.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
custom_prompt | string | instructions for mode custom, up to 10000 characters |
mode | string | conversational goal; custom needs custom_prompt |
response_length | string | response length |
chat_history
Read a notebook conversation (oldest turn first within a page), with cursor paging. format=markdown adds a rendered transcript. Turn layout is not yet live-verified.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
conversation_id | string | conversation to read; default is the newest thread |
cursor | string | next_cursor of the previous page (older turns) |
format | string | json (default) or markdown |
limit | integer | max turns per page (default 20) |
chat_status
Status and result of a detached chat_ask (wait=false): running, done, failed or cancelled. Jobs live in memory and are dropped an hour after they finish or when the server restarts.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | job id returned by chat_ask with wait=false |
delete
Delete notebooks, sources, notes, artifacts, chat history, labels or collections. Without confirm:true it only returns a preview of what would be deleted and changes nothing. Items are matched strictly (exact id, unique id prefix or exact title) against a fresh list. source, note and chat_history need notebook; chat_history deletes the whole history of the given conversations; it reaches only the newest 20 conversations of a notebook, and its preview shows their created and updated times and, when the whole history can be read, the first question. Kinds artifact, label and collection are not a…
| Parameter | Type | Description |
|---|---|---|
ids * | null | array | ids (or exact titles) of the items to delete; for chat_history, conversation ids |
kind * | string | notebook, source, note, artifact, chat_history, label or collection |
confirm | boolean | must be true to delete; without it only a preview is returned |
notebook | string | notebook id, prefix or title; required for every kind except notebook |
job_cancel
Cancel a running detached job (chat_ask with wait=false, deep research). For an ask with a known conversation the server-side generation is also stopped, best effort.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | job id to cancel |
label_list
List a notebook's source labels with emoji and the ids of the sources in each. Collections are not available yet.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
scope | string | source_labels (default); collections are not available yet |
label_update
Rename a label, set its emoji, or add/remove sources. Actions auto and create (and notebook collections) are not available yet and return UNSUPPORTED_BY_TRANSPORT. Payload shapes are not live-verified.
| Parameter | Type | Description |
|---|---|---|
action * | string | rename, set_emoji, add_sources or remove_sources (auto and create are not available yet) |
label * | string | label id or name |
notebook * | string | notebook id, id prefix (6+ chars) or title |
emoji | string | emoji for set_emoji |
items | null | array | source ids, id prefixes or titles for add_sources / remove_sources |
name | string | new name for rename |
scope | string | source_labels (default) |
note_list
List the notes of a notebook with id, title and content. Deleted notes are not shown.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
include_mind_maps | boolean | accepted for compatibility; mind maps are not listed yet |
note_save
Create a note, or update an existing one (note = id or title). from_turn (save a chat turn as a note) is not available yet and returns UNSUPPORTED_BY_TRANSPORT.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
content | string | note body |
from_turn | string | save a chat turn as a note (not available yet) |
note | string | existing note id or title to update; omit to create a new note |
title | string | note title |
notebook_create
Create a notebook with a title and optionally add sources in the same call (same items as source_add). The create call is sent once and never retried. emoji is accepted but ignored (no known wire slot). If the rename or the source add fails, the notebook still exists and its id is returned with warnings.
| Parameter | Type | Description |
|---|---|---|
title * | string | title of the new notebook |
emoji | string | notebook emoji (ignored: no known wire slot yet) |
sources | null | array | sources to add right after creation; same items as source_add |
notebook_list
List NotebookLM notebooks with id, title, source count and ownership. Filter by title and scope. Returns 20 by default; has_more says whether to page with offset. Cached 30 s.
| Parameter | Type | Description |
|---|---|---|
limit | integer | max notebooks to return (default 20; page with offset) |
offset | integer | skip this many notebooks |
query | string | case-insensitive filter on notebook titles |
refresh | boolean | bypass the 30 s cache |
scope | string | mine, shared or all (default all) |
notebook_open
Open one notebook by id or title: its sources with status, summary and suggested questions.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
notebook_update
Rename a notebook (title, verified by read-back) and/or drop it from the recently viewed list (remove_from_recent). emoji, pinned, alias and tags are not available yet and are ignored with a note.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
alias | string | not available yet (ignored) |
emoji | string | not available yet (ignored) |
pinned | null | boolean | not available yet (ignored) |
remove_from_recent | boolean | drop the notebook from the recently viewed list |
tags | null | array | not available yet (ignored) |
title | string | new title |
research_import
Import research candidates as notebook sources, by urls (from research_status), report, or all. Candidates are matched by URL against a fresh read, so results reordered since research_status still import the intended ones; an unknown URL is NOT_FOUND. Candidates already in the notebook are skipped, so a retry is safe. Reports added, skipped and failed per candidate.
| Parameter | Type | Description |
|---|---|---|
job * | string | research job id from research_start or research_status |
notebook * | string | notebook id, id prefix (6+ chars) or title |
all | boolean | import every candidate |
report | boolean | also import the deep-research report candidate |
urls | null | array | URLs of the web candidates to import, as listed by research_status |
research_start
Start a web or Drive research job in a notebook (fast or deep). Returns a job handle; poll with research_status, then import with research_import. Queries under 4 words are rejected unless force is true. Mode discover is not yet available (UNSUPPORTED_BY_TRANSPORT).
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
query * | string | what to research; at least 4 words unless force is set |
corpus | string | web (default) or drive; deep supports web only |
force | boolean | allow a query shorter than 4 words |
mode | string | fast (default) or deep; discover is not yet available |
research_status
Check research jobs of a notebook and list their candidates (pick them by url in research_import). With wait_seconds (0-120) polls every 3 s, reporting progress, until the job is done.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
include_report | boolean | include the deep-research report text |
job | string | research job id; omit for all jobs of the notebook |
wait_seconds | integer | 0-120: poll every 3 s until the job is done or time runs out |
server_info
Show the sourcebolt version, active Google profile, NotebookLM host, enabled tools and which transport served the last call. No Google call unless include_usage is set.
| Parameter | Type | Description |
|---|---|---|
include_usage | boolean | also fetch account tier and quota windows (one Google call) |
source_add
Add sources to a notebook: public URLs (YouTube auto-detected) and pasted text, in one call. Returns a per-item outcome. Drive and file items are not yet available (UNSUPPORTED_BY_TRANSPORT). URLs to private or internal addresses are rejected.
| Parameter | Type | Description |
|---|---|---|
items * | null | array | sources to add; each item sets exactly one of url, text, drive, file |
notebook * | string | notebook id, id prefix (6+ chars) or title |
source_list
List a notebook's sources with type and processing status; optionally filter by status.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
status | string | filter: processing, ready, error, preparing or a raw status number |
source_read
Read a source's full text, markdown, or guide (summary and keywords), paged by character offset (max_chars default 20000; see truncated and next_offset).
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
source * | string | source id, id prefix or title |
max_chars | integer | max characters to return (default 20000, cap 200000) |
mode | string | fulltext (default), markdown, or guide (the source guide: summary as text plus keywords) |
offset | integer | character offset to start from |
source_update
Rename a source (title) and/or check whether it is up to date (check_freshness). refresh is not yet available (UNSUPPORTED_BY_TRANSPORT).
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
source * | string | source id, id prefix or title |
check_freshness | boolean | report whether the source is up to date |
refresh | boolean | re-fetch the source (not yet available) |
title | string | new title |
studio_generate
Generate a Studio artifact: audio, video, report, interactive_report, slide_deck, mind_map, quiz, flashcards, infographic or data_table. Each kind takes only the option values a live capture has proven (the enums); other values the web app offers return UNSUPPORTED_BY_TRANSPORT naming the option, before any call. Omitted options take the web app's defaults. instructions is optional for audio, video, slide_deck and quiz, required for report, mind_map, flashcards and data_table, and refused by infographic and interactive_report (each as captured). video.generate_later asks for deferred generatio…
| Parameter | Type | Description |
|---|---|---|
kind * | string | the artifact kind |
notebook * | string | notebook id, id prefix (6+ chars) or title |
audio | null | object | options for kind audio |
flashcards | null | object | options for kind flashcards |
infographic | null | object | options for kind infographic |
instructions | string | free text: audio and video focus, slide deck description and quiz topic (optional); report prompt, data table description, mind map and flashcards topic (required); infographic and interactive_report… |
language | string | output language code as the web app sends it (default en; cinematic video takes none) |
quiz | null | object | options for kind quiz |
report | null | object | options for kind report (required) |
slide_deck | null | object | options for kind slide_deck |
sources | null | array | source ids, id prefixes or titles; default all sources (notes cannot be used as sources) |
video | null | object | options for kind video |
studio_list
List a notebook's Studio artifacts (audio, video, report, slide_deck, mind_map, quiz, flashcards, infographic, data_table) with kind and status (pending while queued or generating, then ready or failed). Pass artifact to read one with its interactive content (HTML or mind-map tree) when Google has any.
| Parameter | Type | Description |
|---|---|---|
notebook * | string | notebook id, id prefix (6+ chars) or title |
artifact | string | one artifact id or title; returns it with its interactive content when available |
kind | string | filter by kind: audio, video, report, slide_deck, mind_map, quiz, flashcards, infographic, data_table (interactive and unknown for unrecognized rows) |
status | string | filter by status: pending (queued or generating), ready or failed |
suggest
Suggested prompts for a surface: chat, report or studio_options. The followups surface is not yet available (UNSUPPORTED_BY_TRANSPORT until a live capture pins it).
| Parameter | Type | Description |
|---|---|---|
surface * | string | chat, followups, report or studio_options |
notebook | string | notebook id, id prefix or title (not needed for studio_options) |
query | string | steer chat suggestions toward this topic |
sources | null | array | limit to these sources (id, id prefix or title) |