Render a barcode/QR to PNG
render_barcodeRender text as a barcode PNG. format: one of qr, aztec, datamatrix, code128, code39, code93, ean13, ean8, upca, itf, pdf417. Output: base64 PNG plus 'decoded' self-check flag (we decode our own render; upca intentionally verifies as zero-padded EAN-13). GTIN codes must have a valid mod-10 checksum.
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": {
"text": "<text>",
"format": "<format>"
},
"name": "render_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Payload to encode (digits for GTIN symbologies) | |
| scale | No | Rasterization scale, default 6 | |
| format | Yes | Symbology id: qr, aztec, datamatrix, code128, code39, code93, ean13, ean8, upca, itf, pdf417 |