page.delete
Permanently deletes a page from an existing website by slug or pageId, cleans up navigation menu links, and invalidates edge caches. The homepage ('/') cannot be deleted.
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": {
"siteId": "<siteId>"
},
"name": "page.delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug of the page to delete (e.g. '/portfolio-v2-test' or '/about') | |
| pageId | No | Optional MongoDB Page ID | |
| siteId | Yes | MongoDB Site ID | |
| confirmed | No | Confirm permanent deletion (default true for external MCP) |