Ask the notebook
notebook_queryAsk NotebookLM a question restricted to a notebook's sources, then receive the answer and a conversation ID for follow-ups.
Instructions
Ask NotebookLM a question that it answers only from the notebook's sources (all of them, or source_ids). Returns the answer and a conversation_id. The answer text keeps NotebookLM's bracketed citation numbers such as [1], but not which passage each number points to. Pass conversation_id back to ask a follow-up; this server remembers the conversation's history while it keeps running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The question, in natural language | |
| source_ids | No | Answer only from these source IDs (from notebook_get); omit to use every source | |
| notebook_id | Yes | Notebook ID, as returned by notebook_list or notebook_create | |
| conversation_id | No | conversation_id returned by a previous notebook_query, to ask a follow-up in the same conversation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | NotebookLM's answer, with bracketed citation numbers such as [1] | |
| status | Yes | ||
| message | No | Human-readable outcome or next step | |
| conversation_id | Yes | Pass back as conversation_id to ask a follow-up |