Restore page
restore_pageRestore a deleted page and its child pages from the trash using the page UUID from list_trash; if the slug or parent changed, the page gets a new slug or returns at the space root.
Instructions
Bring a deleted page back from the trash, with the child pages that were deleted with it. Takes the page's UUID from list_trash: deleted pages can't be found by their path. If the slug was taken meanwhile the page gets a new one (slug_changed), and if its parent page is still deleted it comes back at the top level of its space (reparented_to_root).
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": "restore_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | UUID of the deleted page, from list_trash |