Upload a neckprint
upload_neckprintUpload a neckprint (inner-collar print) and get back a neckprint id for create_shop_product. Only valid for base products whose hasNeckPrint is true. Supply a light-garment image; optionally add a dark-garment variant of the same artwork. Position/size fields (X/Y/width/height) are accepted for forward compatibility but not currently used by the backend - only DPI is recorded today.
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": {
"lightImageBase64": "<lightImageBase64>",
"lightFilename": "<lightFilename>"
},
"name": "upload_neckprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| darkX | No | X offset of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| darkY | No | Y offset of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| lightX | No | X offset of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| lightY | No | Y offset of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| darkDpi | No | DPI of the dark neckprint image. | |
| lightDpi | No | DPI of the light neckprint image. | |
| darkWidth | No | Width of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| darkHeight | No | Height of the dark neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| lightWidth | No | Width of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| lightHeight | No | Height of the light neckprint, in mm. Accepted for forward compatibility; the backend currently records only DPI and does not yet use this to position the print. | |
| darkFilename | No | Filename with extension for the dark image. Required if darkImageBase64 is given. | |
| lightFilename | Yes | Filename with extension for the light image, e.g. neck-light.png. | |
| darkImageBase64 | No | Base64-encoded neckprint image for dark garments. Optional; omit to use the light image only. | |
| lightImageBase64 | Yes | Base64-encoded neckprint image for light garments. |