common-get-item-template-by-id
Retrieve template information for Sitecore items by specifying their ID, enabling content management and structure analysis.
Instructions
Gets template information for a Sitecore item by its 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": {
"id": "<id>"
},
"name": "common-get-item-template-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to retrieve template information for. | |
| database | No | The database containing the item (defaults to the context database). |