copy_page_to_parent
Recreate a page under a new parent by copying its title, icon, and content, then archive the original. Works around Notion's lack of move support.
Instructions
Recreate a page under a new parent (destructive workaround for move).
Since Notion's public API does not support changing a page's parent, this tool works around the limitation by creating a new page at the target location with the same title, icon, and content, then archiving the original.
LIMITATIONS (read carefully): * Block IDs of the new page are different from the original. Any external references to original block IDs (graphics-spec.md, cross-page links, Change Log entries) will point at the archived original and need to be updated. * file_upload image blocks are copied as external URL references using the Notion-signed URL returned at copy time. Those URLs expire within an hour. For permanent preservation, re-upload the source files via upload_image_as_block after the copy. * child_page descendants (nested subpages) are NOT recursively copied -- the tool refuses to run if any are present. Copy them individually. * Comments, page history, permissions, and synced blocks are not copied.
Args: page_id: The source page to copy. new_parent_id: The target parent page or database ID. parent_type: "page_id" (default) or "database_id". archive_original: If True (default), archive the source page after the copy completes. Set False to keep both copies side-by-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| new_parent_id | Yes | ||
| parent_type | No | page_id | |
| archive_original | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |