presentation-add-placeholder-setting
Add a placeholder setting to a Sitecore item by ID or path, specifying the setting by ID or path and choosing final or shared layout.
Instructions
Adds a placeholder setting to an item.
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": {
"key": "<key>"
},
"name": "presentation-add-placeholder-setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to add the placeholder setting to. Supply this or path. | |
| key | Yes | The key of the placeholder setting to add. | |
| path | No | The path of the item to add the placeholder setting to. Supply this or id. | |
| database | No | The context database. Sent when addressing the item or the placeholder setting by ID -- a path carries its own database prefix (e.g. master:/sitecore/content/Home). | master |
| language | No | The language version of the item to add the placeholder setting to. | |
| finalLayout | No | Specifies layout to add the rendering placeholder setting to. If 'true', the final layout is used, otherwise - shared layout. | |
| placeholderSettingId | No | The ID of the placeholder setting to add. Supply this or placeholderSettingPath. | |
| placeholderSettingPath | No | The path of the placeholder setting to add. Supply this or placeholderSettingId. |