Generate Printable Barcode / QR Label Sheet
generate_label_sheetBatch-encodes up to 200 QR or 1D barcodes into print-ready @page HTML/SVG label sheets formatted for Avery 5160 (30-up US Letter), Zebra 4x6 shipping thermal, or Zebra 2x1 retail/bin tags. Pricing: $0.002 base (up to $0.008 max ($0.002 base + $0.002 per 50 rendered labels, capped at $0.008 for up to 200 labels), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.
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": {
"items": "<items>"
},
"name": "generate_label_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | 1 to 200 barcode/QR label definitions to render onto print-ready sheets. | |
| template | No | Print stock layout: 'avery_5160' (3x10 US Letter 8.5x11in, 30/page), 'zebra_4x6' (4x6in shipping/pallet thermal), or 'zebra_2x1' (2x1in retail/shelf thermal). | avery_5160 |
| background | No | Background hex color (#RGB or #RRGGBB, default '#FFFFFF'). | |
| foreground | No | Foreground bar/module hex color (#RGB or #RRGGBB, default '#000000'). | |
| includePng | No | Also include lossless base64 PNGs alongside each label's inline SVG. | |
| startOffset | No | Blank cells to skip on page 1 for partially used Avery 5160 sheets. | |
| includeBarcodeText | No | Render human-readable text inside each barcode SVG (defaults to true for 1D, false for QR). |