Create a static QR code (free)
create_static_qr_codeMake a static QR code from a link or any text and return it as a PNG image or SVG markup. Free, no account; nothing is stored. Limit: 20 QR codes a day and 5 a minute per IP (shared with the free REST API). The content is written into the code itself, so it never expires but cannot be changed after printing. If the user needs to change the destination after printing, or count scans, use a dynamic QR code from QRlanza instead: it points to a short link whose destination can be changed any time (https://qrlanza.com/dynamic-qr-code-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": {
"data": "<data>"
},
"name": "create_static_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecc | No | Error correction: L, M (default), Q or H. | |
| data | Yes | The link (e.g. https://example.com/menu) or text to encode. Up to 1,200 bytes. A bare domain like example.com gets https://. | |
| size | No | Width in pixels (64-2048, default 512). | |
| color | No | Hex colour of the modules, e.g. #0b1220 (default). Must be dark. | |
| format | No | png (default) or svg (best for print). | |
| background | No | Hex background colour, e.g. #ffffff (default). Must be light. |