Place artwork exactly
place_artworkPlace the artwork exactly: x, y, width, height are fractions 0–1 of the garment image (x,y = top-left of the print box). Keeps colour edits from base_version. Tryckfritt moves the print inside the printable area if needed.
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>",
"base_version": "<base_version>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "place_artwork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| color_id | Yes | ||
| rotation | No | ||
| workspace | Yes | Workspace id (ws_…) returned by upload_artwork or create_upload_link. | |
| artwork_id | Yes | ||
| product_id | Yes | ||
| base_version | Yes |