Layout Builder Update
layout_builder_updateUpdate a Drupal Layout Builder layout for a bundle: replace all sections with a provided layout, change the lock state, or report the current layout when no changes are supplied.
Instructions
Update the Layout Builder layout for a bundle.
With layout given it replaces every section, exactly like
layout_builder_create. With layout omitted it only applies
lock, or just reports the current state when both are omitted.
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>"
},
"name": "layout_builder_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | ||
| bundle | Yes | ||
| layout | No | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||