Show a design on a shirt
get_mockupShow a design on a shirt in one color and side, as a picture the client shows to the person: call it by its label. To show an existing design, find it with list_designs first. For a model wearing it, pass look: a model look from list_mockup_looks, in a color it has. Give previews[].url as a plain link, only if they ask to open or download it (it expires in 24 hours); never write it as a markdown image. Free: our own photos. If a look or color is refused, offer the ones that exist; never generate a picture of the design yourself.
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": {
"designId": "<designId>",
"colorCode": "<colorCode>"
},
"name": "get_mockup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | A look ref from list_mockup_looks or a template ref from list_mockup_templates | |
| side | No | Default: the design's first side | |
| designId | Yes | ||
| colorCode | Yes | Color code (BLK) or name (Black) of the design's garment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | On a refusal: its code | |
| mockup | No | ||
| message | No | On a refusal: why | |
| previews | No | ||
| previewLinks | No |