notion_replace_page_content
Replaces a Notion page's entire content with new Markdown, overwriting all existing blocks. Use it for full-page rewrites; for targeted edits, use the content update tool instead.
Instructions
Replace a page's entire content with new markdown.
Overwrites all existing content. Use notion_read_page_markdown first to see what's there. For targeted edits, use notion_update_page_content instead.
page_id: the page to replace content on. markdown: new page content in markdown format. allow_deleting_content: must be True when the replacement would delete a child page or database that is on the page now. markdown_version: "v2" treats markdown as Notion-flavored Markdown (a preview syntax); default is the stable syntax.
Very large pages are processed by Notion as a background task; if it is still running when this returns, the reply carries a task ID for notion_get_async_task.
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>",
"markdown": "<markdown>"
},
"name": "notion_replace_page_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| markdown | Yes | ||
| markdown_version | No | ||
| allow_deleting_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |