barcode_generate
Generate standalone barcodes as SVG or PNG, including Code128, EAN-13, UPC, QR Code, Data Matrix, and PDF417, by supplying the barcode type and data to encode.
Instructions
Generate a standalone barcode (SVG text or PNG image). Supported types include code128, code39, ean13, upca, upce, itf14, msi, qrcode, datamatrix, pdf417.
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": {
"type": "<type>",
"data": "<data>"
},
"name": "barcode_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data to encode | |
| type | Yes | Barcode type, e.g. code128 | |
| format | No | svg |