Remove Page
remove_pageRemove a page from the site. Cannot remove the home page. A backup of the current site is saved automatically before every removal (restorable via Site Backups in the Zarla editor) — the response reports it under "backup"; if backup.created is false with skipped_reason "snapshot_failed", warn the user the removal is NOT backed up.
Annotations: read-only=false, destructive=true, idempotent=true, open-world=false. Why: Deletes a page from the DRAFT — destructive; a backup of the site is saved first. Idempotent: a repeat finds nothing to remove and saves nothing. Closed-world. The live site changes only when the user confirms publish_site; the draft stays editable in the Zarla editor.
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": {
"site_id": "<site_id>",
"page_slug": "<page_slug>"
},
"name": "remove_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| page_slug | Yes | Page slug to remove |