Make a barcode
create_barcodeMake a Code 128 or EAN-13 barcode as a PNG image, or as SVG text with format svg. code128 takes 1 to 80 printable ASCII characters; ean13 takes 12 digits, or 13 with the check digit, and the answer carries the check digit. The image is the bars alone, with no digits under them. No API key, no account and no sign up.
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": "create_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The text or the digits to encode. | |
| type | Yes | code128 for text, ean13 for a 12 or 13 digit article number. | |
| format | No | png (default) answers the image; svg answers the SVG text in barcode_svg. |