create_template
Generate customizable product templates for e-commerce platforms by defining dimensions, layers, and shop domain using the TailorKit MCP server.
Instructions
Create a new template with shop domain
Input Schema
Name | Required | Description | Default |
---|---|---|---|
_id | No | The id of the template | |
dimension | No | The dimension of the template | |
layers | No | The layers of the template | |
name | Yes | The name of the template | New Template |
shopDomain | Yes | The shop domain ends with .myshopify.com |
Input Schema (JSON Schema)
{
"properties": {
"_id": {
"description": "The id of the template",
"format": "uuid",
"type": "string"
},
"dimension": {
"description": "The dimension of the template",
"properties": {
"height": {
"default": 1000,
"description": "The height of the template",
"type": "number"
},
"measurementUnit": {
"default": "px",
"description": "The measurement unit",
"type": "string"
},
"resolution": {
"default": 300,
"description": "The resolution of the template",
"type": "number"
},
"width": {
"default": 1000,
"description": "The width of the template",
"type": "number"
}
},
"required": [
"width",
"height",
"measurementUnit",
"resolution"
],
"type": "object"
},
"layers": {
"description": "The layers of the template",
"items": {
"properties": {
"_id": {
"description": "The id of the layer",
"format": "uuid",
"type": "string"
},
"children": {
"description": "The children of the layer",
"items": {
"type": "string"
},
"type": "array"
},
"height": {
"default": 0,
"description": "The height of the layer",
"type": "number"
},
"image": {
"description": "The image of the layer. Only used for image layer",
"properties": {
"height": {
"default": 0,
"description": "The height of the image",
"type": "number"
},
"src": {
"description": "The source of the image",
"type": "string"
},
"width": {
"default": 0,
"description": "The width of the image",
"type": "number"
}
},
"type": "object"
},
"label": {
"description": "The label of the layer",
"type": "string"
},
"left": {
"default": 0,
"description": "The left position of the layer",
"type": "number"
},
"locked": {
"default": false,
"description": "Whether the layer is locked",
"type": "boolean"
},
"rotate": {
"default": 0,
"description": "The rotation of the layer",
"type": "number"
},
"settings": {
"description": "The settings of the layer",
"properties": {},
"type": "object"
},
"top": {
"default": 0,
"description": "The top position of the layer",
"type": "number"
},
"type": {
"description": "The type of the layer",
"enum": [
"group",
"text",
"image",
"imageless",
"multi-layout"
],
"type": "string"
},
"visible": {
"default": true,
"description": "Whether the layer is visible",
"type": "boolean"
},
"width": {
"default": 0,
"description": "The width of the layer",
"type": "number"
}
},
"required": [
"_id",
"label",
"type",
"locked",
"visible",
"left",
"top",
"rotate",
"width",
"height"
],
"type": "object"
},
"type": "array"
},
"name": {
"default": "New Template",
"description": "The name of the template",
"type": "string"
},
"shopDomain": {
"description": "The shop domain ends with .myshopify.com",
"type": "string"
}
},
"required": [
"shopDomain",
"name",
"dimensions"
],
"type": "object"
}