Generate QR code
generate_qrGenerate QR code PNG images from text or URLs, with adjustable scale and error-correction levels.
Instructions
Generate a QR code as a PNG image. Convenience wrapper around generate_barcode for QR.
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>"
},
"name": "generate_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Text, URL or data to encode | |
| scale | No | Pixel scale factor (default 4) | |
| eclevel | No | Error-correction level (default M) |