Generate a 1-D barcode
barcode_generateCode 128, EAN-13, UPC-A or EAN-8 as SVG/PNG/data URL. EAN/UPC: pass digits without check digit to have it added, or with it to verify. Static codes only: no redirects, no dynamic/editable codes, no scan analytics. EAN/UPC output is format-valid (check digit) and is NOT GS1 registration. Scannability is not guaranteed (contrast, print size, quiet zone and reader all matter).
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": {
"symbology": "<symbology>",
"data": "<data>"
},
"name": "barcode_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | ||
| fg | No | ||
| data | Yes | ||
| size | No | ||
| format | No | ||
| height | No | ||
| margin | No | ||
| symbology | Yes |