update_notebook
Rename a standalone notebook or change its sections. Renaming is refused on a notebook that belongs to a project or category (the app would otherwise show the notebook's name instead of the project's).
Instructions
Rename a standalone notebook or change its sections. Renaming is refused on a notebook that belongs to a project or category (the app would otherwise show the notebook's name instead of the project's). The section list is read just before the write and is rewritten in full. On removal, sectionId is first set to null on the pages in that section, so that no page points to a missing section. 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 |
|---|---|---|---|
| title | No | New name — standalone notebooks only | |
| notebook_id | Yes | The notebook's id (nb_...) | |
| sections_add | No | New sections (titles), added last | |
| sections_delete | No | Section ids to remove; their pages become unsectioned | |
| sections_rename | No | Section id -> new title |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||