restore_page
Restore a trashed page and its descendants, including automatically restoring child pages that were archived with the parent.
Instructions
Restore a page (and its children) from trash.
This is the explicit counterpart to delete_block on a page. update_page
has a safety guard that blocks archived=False; this dedicated tool is
the supported way to unarchive.
When called on a page that was archived via a cascade (for example, a section container that was deleted along with its subpages), restoring the parent container automatically restores the cascaded descendants.
Args: page_id: The page to restore from trash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |