Reorder Blocks
reorder_blocksReorder blocks on a page. Provide the complete list of block IDs in the desired order.
Annotations: read-only=false, destructive=true, idempotent=true, open-world=false. Why: Replaces the order of a page's sections on the DRAFT — a non-additive update, so destructive by the MCP definition; idempotent; 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_ids": "<block_ids>"
},
"name": "reorder_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| block_ids | Yes | Ordered list of ALL block IDs for this page | |
| page_slug | Yes |