common-get-item-template
Get template information for a Sitecore item by ID or path to identify its content type, fields, and data structure.
Instructions
Gets template information for a Sitecore 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": "common-get-item-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to retrieve template information for. Supply this or path. | |
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| path | No | The path of the item to retrieve template information for (e.g. /sitecore/content/Home). Supply this or id. | |
| fields | No | Extra Sitecore field names to include, e.g. ['Title']. Ignored when full is true. | |
| database | No | Database to resolve an id against (default master). |