NotebookLM icon

NotebookLM

Interact with Google NotebookLM

Source → Delete

AI-generated

Summary

Delete a source from a specified notebook using its notebook ID and source ID.

Inputs

  • Notebook ID (required) — The ID of the notebook containing the source to delete.
  • Source ID (required) — The ID of the source to delete.

Output shape

a single JSON object indicating success and the deleted source ID

The output JSON includes a 'success' boolean true on successful deletion and the 'sourceId' of the deleted source. Errors during deletion will be thrown unless 'Continue On Fail' is enabled.

Examples

Example 1: Remove a source from a notebook

Set resource to 'Source', operation to 'Delete', provide the 'Notebook ID' and 'Source ID' of the source to remove.

Links

Discussion