Create a design
create_designPut the customer's logo (and up to 2 text lines) on a cup. Returns design_id, design_version, an artwork check (preflight) and a mockup_url. Upload the customer's own file as base64 (PNG, JPG, SVG or PDF, up to 25 MB). Partner agent keys may pass an idempotency_key so a retry does not make a second design.
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": {
"blank_shape_id": "<blank_shape_id>",
"colour": "<colour>",
"coverage": "<coverage>",
"artwork": "<artwork>"
},
"name": "create_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colour | Yes | A colour slug from list_cups for that cup | |
| artwork | Yes | ||
| coverage | Yes | Print coverage offered on that cup (list_cups) | |
| text_lines | No | ||
| blank_shape_id | Yes | From list_cups | |
| idempotency_key | No |