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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"block_ids": "<block_ids>"
},
"name": "notion_delete_blocks"
}
}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 |