Convert ZPL to PDF
convert_zpl_to_pdfConvert ZPL labels to a PDF (or PNG/JPEG on Pro and above) and return a download URL valid for 15 minutes. Needs an API key with the "mcp" scope; uses 1 PDF of the monthly plan quota. Retrying the same ZPL the same day returns the same file without charging again. If it takes longer than ~25 s, returns a jobId to poll with get_conversion.
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": {
"zpl": "<zpl>"
},
"name": "convert_zpl_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zpl | Yes | ZPL code with one or more ^XA … ^XZ label blocks. | |
| format | No | Output format (default pdf). png/jpeg return a ZIP and need Pro or higher. | |
| labelSize | No | Label size in inches (width x height) or mm: 2x1, 2x4, 4x2, 4x6 (default, shipping labels), 4x8, 50x80mm, 80x50mm. |