Components Layers
components_layersReorder the stacking of 1–100 top-level components on an ungrouped static page by bringing them to front/back or moving them forward/backward while preserving relative order and existing payloads.
Instructions
Change stacking of 1–100 top-level components on one ungrouped static page.
Actions: bring_to_front, send_to_back, bring_forward, send_backward. Preserves relative order inside selected and unselected subsets, independent of input ID order. At the requested boundary returns unchanged without a write. Component payloads, child order, geometry and conditions are preserved. Preview lists full before/after order back-to-front. report_refresh first, page_get fingerprint, versioned write/read-back/journal/operation_restore. Grouped and responsive pages and report-level layers need separate support.
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": {
"page_id": "<page_id>",
"component_ids": "<component_ids>",
"action": "<action>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "components_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| dry_run | No | ||
| page_id | Yes | ||
| report_id | No | ||
| component_ids | Yes | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||