github teng-lin/notebooklm-py v0.8.7

one hour ago

[0.8.7] - 2026-12-03

Added

  • MCP source search and read-only mode (#2545). Use source_search to find
    relevant passages in a notebook's indexed sources. Start the server with
    notebooklm-mcp --read-only to expose only read-only tools.

  • Notebook toolset preferences (#2546). Python callers can read a
    notebook's Connected Apps preferences with notebooks.get_toolset_preferences()
    on Web.

  • Unresolved citation signal (#2563). AskResult.unresolved_citation_count
    counts raw [cite: N] markers in answers with no source references. The MCP,
    REST, and ask --json envelopes carry this heuristic as unresolved_citations.
    Text ask preserves the markers and warns when they appear without source
    references. --save-as-note warns that the plain-text note keeps them.

  • Chat answer states (#2541). chat.get_history_turns() exposes message
    status, UTC timestamp, empty-answer reason, and the web UI's stale-answer
    classification on Web and Android. AskResult.empty_answer_reason distinguishes
    diagnostic empty responses, and Web quota markers now raise RateLimitError.

  • History turn fidelity (#2543). get_history_turns() now yields the question of
    an Android combined row, and ChatHistoryTurn.answer_present tells an absent answer
    payload apart from an empty answer (is_empty is False when it is absent).

  • Quiz question types (#2528). generate_quiz(question_types=[QuizQuestionType...])
    and generate quiz --question-types multiple-choice,short-answer limit the question
    types on the Web backend. Android raises UnsupportedOperationError for a restricting
    selection because its server ignores the option.

  • Quiz and flashcards image option (#2528). include_images=False (CLI
    --text-only) generates text only; None keeps the server default (images
    included). Sent as image_option.disabled_source_images on Web and Android.

  • Quiz and flashcards output language (#2528). generate_quiz and
    generate_flashcards take an optional language code, and the CLI gains
    --language on both. Omitting it leaves behavior unchanged; MCP and REST
    forward language for these types only when supplied.

Fixed

  • Web Studio creation errors (#2572, #2582). Rejected creation requests now
    surface the server's error. The Python API and CLI warn that Studio no longer
    supports creating new Data Tables. Use notebooklm ask to request CSV text or
    download data-table to export an existing Studio table.

  • MCP chat configuration (#2561). Notebook details include the current
    chat settings, and the chat configuration tool rejects blank custom goals.

  • Android file uploads (#2547). Filenames that need escaping no longer
    produce invalid upload headers.

  • Browser OAuth capture (#2527). Closing the sign-in tab no longer discards
    a successfully captured OAuth token.

  • Interactive login waits for sign-in after session expiry (#2579). When
    Google rejects a persistent browser session that still has a SID cookie,
    notebooklm login opens Google sign-in and preserves saved authentication
    if sign-in fails or times out.

  • Sessions without __Secure-1PSIDTS are no longer rejected locally (#2534).
    A session with SID and a complete secondary binding (OSID, or APISID,
    SAPISID and LSID) authenticates without that cookie, so a failed or refused
    RotateCookies request no longer ends in Missing required cookies: __Secure-1PSIDTS, and auth import-cookies, auth check and doctor accept
    such a session. The cookie is still required when the binding is incomplete or
    its cookies have expired.

Security

  • Updated locked dependencies to address reported vulnerabilities (#2581).

Don't miss a new notebooklm-py release

NewReleases is sending notifications on new releases.