Generate Local QR Code (PNG / SVG)
qr_generateCreate QR codes offline for URLs, Wi-Fi, vCards, or plain text and save them as PNG or SVG. Generates codes locally so content stays on disk without uploads.
Instructions
Generate a QR code completely offline as PNG or SVG (supports URLs, Wi-Fi payloads "WIFI:T:WPA;S:ssid;P:pass;;", vCards, plain text). PNG up to scale 8 (~256-512px) is Free; SVG vector export & ultra-HD (>scale 8) require ThisMyOwn PRO. Powered by CreateMy-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": {
"text": "<text>",
"outputPath": "<outputPath>"
},
"name": "qr_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Content to encode inside the QR code | |
| scale | No | Module pixel scale (1-8 Free, >8 PRO) | |
| format | No | Output format: png (Free) or svg (PRO) | png |
| margin | No | ||
| bgColor | No | Background hex color | #ffffff |
| eclevel | No | QR error correction level | M |
| fgColor | No | Foreground hex color | #000000 |
| outputPath | Yes | Destination file path (.png or .svg) |