Design garment
design_garmentPut the artwork on a garment and change it with a free-text instruction in Swedish or English, e.g. "small logo on the left chest", "large on the back", "make it white", "remove the background", "rounded corners", "make it heart-shaped" (shapes: rounded corners, circle, oval, heart, star). Pass base_version to keep building on an earlier version. Returns a preview image. If the response has a question, ask the user. Each artwork_id is ONE print at one place. For several prints on one garment (e.g. left + right chest, or front + back) use one artwork per print: upload another image, or copy_artwork to place the same logo again, and design each on the same product_id and color_id.
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": {
"workspace": "<workspace>",
"artwork_id": "<artwork_id>",
"product_id": "<product_id>",
"color_id": "<color_id>",
"instruction": "<instruction>"
},
"name": "design_garment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| color_id | Yes | ||
| workspace | Yes | Workspace id (ws_…) returned by upload_artwork or create_upload_link. | |
| artwork_id | Yes | ||
| product_id | Yes | ||
| instruction | Yes | ||
| base_version | No |