QR & codes · 1 credit
Barcode encode
Create warehouse and retail barcodes as PNG — Code 128, Code 39, or EAN-13 — when QR is the wrong symbology for scanners you already own.
What it does
Call this tool (id: barcode_encode) to encode a 1D barcode PNG: Code 128, Code 39, EAN-13. Example: "make a Code 128 barcode for SKU X" → symbology=code128.
Example use cases
- Inventory labels and shipping stubs from agent-built SKUs (symbology=code128).
- Warehouse labels that need Code 39 (symbology=code39).
- Retail GTIN labels that need EAN-13 (symbology=ean13), not QR.
How it works in Toolporten
Add barcode_encode next to the few tools your agent needs for labels or packing. Call it with symbology=code128 (or code39 / ean13) and plain text; get a PNG. Former child ids barcode_code128, barcode_code39, and barcode_ean13 are disabled. Keep QR tools in a different toolbox if that agent should not see them.
MCP call example
{
"name": "barcode_encode",
"arguments": {
"symbology": "code128",
"text": "SKU-1042-A"
}
}