notion_delete_blocks
Deletes Notion blocks by ID with a preview unless confirm:true, logging text blocks as Markdown for restore while sending pages and databases to Trash.
Instructions
Delete blocks by id. Without confirm:true it only previews. Text blocks are saved as Markdown to the local deletion log (restore with notion_restore_blocks); child pages and databases go to Notion Trash (restore with notion_restore_page). Guest/shared workspaces also need allow_shared:true; only after the user said yes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page URL or id. Default: the active Notion tab. | |
| confirm | No | ||
| block_ids | Yes | ||
| allow_shared | No |