replace-page-content
Replaces all content on a Notion page by deleting existing blocks and appending new blocks, enabling full page rewrites.
Instructions
Notion | Replace entire page content (delete all blocks then append new ones). Supported block types: paragraph, heading_1/2/3, bulleted_list_item, numbered_list_item, to_do, toggle, quote, callout, code, divider, table (with table_row as children). Note: link in rich_text must have url property or be omitted entirely (link: null is NOT allowed).
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": {
"page_id": "<page_id>",
"children": "<children>"
},
"name": "replace-page-content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | The page ID to replace content | |
| children | Yes | New block array. Supported types: paragraph, heading_1/2/3, bulleted_list_item, numbered_list_item, to_do, toggle, quote, callout, code, divider, table. Note: table_row must be table.children, not top-level block. link in rich_text must have url property or be omitted entirely (link: null is NOT allowed). |