snapshot_page
Create a complete JSON snapshot of a Notion page and all nested blocks for backup or restore. Optionally downloads Notion-hosted files so the saved content can be restored later.
Instructions
Create a complete snapshot of a page with all nested children.
Saves to a JSON file if output_path is provided. The snapshot includes the full block tree with recursive children, suitable for restore. Subpages and inline databases are recorded as blocks but their own content is not captured.
Set include_files to also download Notion-hosted images and files into a
<snapshot name>.files folder beside the JSON. A restore can then
upload them again even after they have left Notion's trash. Without it,
the snapshot holds only links that expire within the hour.
Default path: ~/notion-snapshots/<page_id>_.json
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>"
},
"name": "snapshot_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| output_path | No | ||
| include_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |