authoring-get-item-template
Read a Sitecore data template via the Authoring API to get its sections and field definitions, including IDs. Use it to learn required fields before item creation or template updates.
Instructions
Reads a Sitecore data template over the Authoring and Management API, returning its sections and field definitions (name, type, source). Call this before authoring-create-item to learn which fields a template accepts, or before authoring-update-item-template to get the section and field IDs an update needs. Sections report their ID as itemTemplateSectionId; an update supplies that same value as templateSectionId. Supply exactly one of templateId or path.
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": "authoring-get-item-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The template's path RELATIVE to /sitecore/templates, with no leading slash — e.g. 'Project/MySite/Page' or 'Sample/Sample Item'. An absolute path is rejected by the endpoint. Supply this or templateId. | |
| database | No | The database holding the template. Defaults to master. | |
| templateId | No | The template's GUID. Supply this or path. |