presentation-remove-rendering-by-id
Remove specific renderings from Sitecore content items by targeting their unique IDs to manage presentation layer components.
Instructions
Removes renderings from an item by owners item ID.
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": {
"itemId": "<itemId>",
"uniqueId": "<uniqueId>"
},
"name": "presentation-remove-rendering-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The ID of the item to remove rendering from. | |
| uniqueId | Yes | The rendering definition unique id. | |
| database | No | The database of the item to remove rendering from. | |
| dataSource | No | The rendering data source filter. | |
| placeholder | No | The rendering placeholder filter. | |
| language | No | The item language filter. | |
| finalLayout | No | Specifies layout holding the rendering definition. If 'true', the final layout is used, otherwise - shared layout. |