barcode.generate
Generate QR codes, Code128, or EAN13 barcodes as raw image bytes from URL or text payload. Ideal for embedding barcodes in applications.
Instructions
Generate a barcode or QR code as an image. Format defaults to qr; supported: qr, code128, ean13. Returns raw image bytes (base64 in MCP transport).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Encoded payload, e.g. { type: "url", url: "https://..." } or { type: "text", text: "..." }. | |
| format | No | qr |