common-add-base-template-by-path
Adds a base template to a Sitecore template item by specifying the item path and template path. This extends template functionality by inheriting fields and settings from the base template.
Instructions
Adds a base template to a template item by its path.
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": {
"path": "<path>",
"template": "<template>"
},
"name": "common-add-base-template-by-path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the item to add the base template to. | |
| template | Yes | The path representing the template item to add as a base template. | |
| database | No | The database containing the item (defaults to the context database). |