Barcode Generator
BarcodeGeneratorBarcode Generator: Barcode Generator creates downloadable barcode images from text or product codes in Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, Codabar, MSI and other linear formats, with bar width, height and margin adjustable on paid plans. Each response provides a temporary image download link, the image size in pixels, file format, and expiration timestamp. (Cost: 10 credits)
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": {
"data": "<data>",
"type": "<type>"
},
"name": "BarcodeGenerator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The data you want to generate a barcode from (string) | |
| type | Yes | The type of barcode you want to generate | |
| height | No | Height of the bars in pixels (default: 40) | |
| margin | No | Quiet-zone margin around the barcode in pixels (default: 10) | |
| barWidth | No | Width of the narrowest bar in pixels (default: 4) | |
| fontSize | No | Font size of the text label in pixels (default: 20) | |
| lineColor | No | The color of the barcode (default: #000000) | |
| textMargin | No | Space between the bars and the text label in pixels (default: 2) | |
| displayValue | No | Whether to display the value below the barcode (default: true) | |
| backgroundColor | No | The background color of the barcode (default: #ffffff) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |