QR code generator
generate_qr_codeGenerate a QR code from text or a URL and get a PNG image plus SVG source, with controls for size, colors, and error correction.
Instructions
Generate a QR code for text or a URL. Returns a PNG image and the SVG source. (Same as IT-Tools /qrcode-generator.)
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": {
"text": "<text>"
},
"name": "generate_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | PNG width in pixels | |
| text | Yes | ||
| background | No | #ffffff | |
| foreground | No | #000000 | |
| errorCorrection | No | M |