layout_delete
Permanently delete a Voog layout. To prevent errors, reassign its pages first and include force=true.
Instructions
Delete a layout. IRREVERSIBLE — Voog does not retain deleted layouts. Refuses without force=true.
Voog blocks deletion of layouts that still have pages assigned — the API returns an error, the layout is NOT deleted. Reassign those pages first via page_set_layout, then retry. Back up with site_snapshot before this operation.
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": "<site>",
"layout_id": "<layout_id>"
},
"name": "layout_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| force | No | ||
| layout_id | Yes |