onenote_delete_section
Deletes a OneNote section and its pages, sending it to the notebook's recycle bin for recovery, or permanently erasing it with the permanent option. Confirm the section ID to avoid accidental deletion.
Instructions
Delete a section. Moves it to the notebook's recycle bin by default (recoverable); pass permanent:true to erase. Destructive — confirm the section ID first. Deletes the whole section and all its pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permanent | No | Erase permanently instead of recycle bin. Default false. | |
| section_id | Yes | Section object ID. Required. |