authoring-create-item-template
Creates a Sitecore data template with its sections and fields in one API call. Provide the parent folder GUID, field types, and base templates to build the schema.
Instructions
Creates a Sitecore data template, with its sections and fields, in one call over the Authoring and Management API. The parent must be a GUID — the folder under /sitecore/templates the template belongs in. Field types are Sitecore's own names, e.g. 'Single-Line Text', 'Rich Text', 'Image', 'General Link', 'Droptree'.
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": {
"name": "<name>",
"parent": "<parent>"
},
"name": "authoring-create-item-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | The template's icon, e.g. 'Office/16x16/document.png'. | |
| name | Yes | The template's name. | |
| parent | Yes | The GUID of the template folder to create in. A path is not accepted — resolve it with authoring-get-item. | |
| database | No | The database to create in. Defaults to master. | |
| language | No | The language to create the template in. | |
| sections | No | The sections and their fields. A template with no sections holds no fields of its own. | |
| baseTemplates | No | GUIDs of templates to inherit from. Page templates normally inherit the site's base page template. | |
| createStandardValuesItem | No | When true, create the __Standard Values item, which is where presentation details and field defaults live. |