common-test-base-template
Check whether a Sitecore item inherits from a specified template by providing its ID or path, helping validate template relationships during content or configuration checks.
Instructions
Checks if the item inherits from the specified template.
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": {
"template": "<template>"
},
"name": "common-test-base-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to сheck template inheritance for. Supply this or path. | |
| path | No | The path of the item to сheck template inheritance for. Supply this or id. | |
| database | No | Database to resolve an id against (default master). | |
| template | Yes | The ID or path of the template to be analyzed. |