Upload label asset
upload_label_assetUpload a logo or decorative label background. Returns asset_id for create_label_design. Use role background for a full-bleed image behind the content, or role logo for a mark. Do not put a barcode in the image. image_base64 and the JSON around it must fit in the 1 MB MCP request body. Base64 is about one third larger than the file, so the image itself must be about 0.75 MB or smaller. A larger request is rejected with "MCP request is too large" and this tool does not run.
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": {
"image_base64": "<image_base64>"
},
"name": "upload_label_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | ||
| image_base64 | Yes |