restore_page_from_snapshot
Restore a Notion page from a saved snapshot by replacing its content safely; blocks Notion cannot recreate are preserved, so failed restores leave the page unchanged.
Instructions
Restore a page from a previously saved snapshot.
Replaces the page's content with the snapshot. The snapshot is written first and the previous blocks are removed only after that succeeds, so a failed restore leaves the page as it was.
Blocks the API cannot recreate (subpages, inline databases, Notion-hosted files) are never deleted. For each one in the snapshot:
Still on the page: left untouched, with the restored content written around it in snapshot order (
preserved). If it was moved so the order cannot be kept, it stays put (out_of_order).Saved with the snapshot (include_files): uploaded again in place (
uploaded).In Notion's trash (about 30 days): brought back, at the end of the page (
restored_from_trash).Otherwise it cannot be restored (
skipped).
Args: page_id: The page to restore into. snapshot_path: Path to the snapshot JSON file.
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>",
"snapshot_path": "<snapshot_path>"
},
"name": "restore_page_from_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| snapshot_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |