Remove Block
remove_blockRemove a content block from a page.
Annotations: read-only=false, destructive=true, idempotent=false, open-world=false. Why: Deletes a section from the DRAFT — destructive. Not idempotent: legacy positional block handles can resolve to a different section on a repeat. 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>",
"block_id": "<block_id>"
},
"name": "remove_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| block_id | Yes | Block ID to remove | |
| page_slug | Yes |