Layout Builder Create
layout_builder_createReplace a bundle's layout with sections, components, or a single layout spec, enable Layout Builder if disabled, and optionally lock components from per-entity edits.
Instructions
Replace the Layout Builder layout for a bundle.
layout may be a list of section specs, {"sections": [...]}, or a
single {"layout_id": ..., "components": [...]}. Layout Builder is
switched on if it was off. lock marks each component as locked
against per-entity editing; Layout Builder has no display-level lock,
so this is a component lock.
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": {
"entity_type": "<entity_type>",
"bundle": "<bundle>",
"layout": "<layout>"
},
"name": "layout_builder_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | ||
| bundle | Yes | ||
| layout | Yes | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||