barcode.generate
Generate a barcode or QR code image from a URL or text, choosing QR, Code 128, or EAN-13 format. Returns raw image bytes for direct use.
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 |