presentation-reset-layout
Reset a Sitecore item's layout by providing its ID or path, language, and choosing final layout or shared layout.
Instructions
Resets the layout of an item.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "presentation-reset-layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to reset the layout for. Supply this or path. | |
| path | No | The path of the item to reset the layout for. Supply this or id. | |
| language | No | Specifies the item language to reset layout for. | |
| finalLayout | No | Specifies layout to be reset. If 'true', the final layout is reset, otherwise - shared layout. |