delete_notebook
Delete a notebook and its pages permanently, in two steps if text. No trash via the API. The pages are deleted first and then the notebook, as the app does.
Instructions
Delete a notebook and its pages permanently, in two steps if text. No trash via the API. The pages are deleted first and then the notebook, as the app does. Two steps: a notebook with a parent and more than one page, and a standalone notebook where any page has text, are only deleted with confirm=true — the first call shows the pages (title, size, first line). Notebook with a parent: page 1's text is written back as the project's/category's note after the deletion; the text is always included in the response, so it is not lost if a step fails. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | True = delete after the pages have been shown | |
| notebook_id | Yes | The notebook's id (nb_...) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||