{"ok":true,"result":{"slug":"qr-code-generator","name":"QR Code Generator","summary":"Generate a QR code as an SVG image for a URL, text, email, phone number, SMS, vCard contact or map location.","description":"Make free static QR codes for links, text, email, phone, SMS, vCards and map locations. Pick colours and error correction, then download PNG or SVG.","method":"POST","endpoint":"/api/v1/tools/qr-code-generator","plan":"free","mcpName":"qr_code_generator","input":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","description":"What the code holds; decides which other fields are used.","default":"url","enum":["url","text","email","phone","sms","vcard","geo"],"maxLength":200000},"url":{"type":"string","description":"type url: the link; https:// is added if missing.","maxLength":2000},"text":{"type":"string","description":"type text: any text.","maxLength":2953},"email":{"type":"string","description":"type email or vcard: email address.","maxLength":254},"subject":{"type":"string","description":"type email: subject line.","maxLength":500},"body":{"type":"string","description":"type email: message body.","maxLength":2000},"phone":{"type":"string","description":"type phone, sms or vcard: phone number, digits with an optional leading +.","maxLength":30},"message":{"type":"string","description":"type sms: message text.","maxLength":1000},"firstName":{"type":"string","description":"type vcard: first name.","maxLength":100},"lastName":{"type":"string","description":"type vcard: last name.","maxLength":100},"org":{"type":"string","description":"type vcard: organisation.","maxLength":200},"website":{"type":"string","description":"type vcard: website URL.","maxLength":2000},"latitude":{"type":"string","description":"type geo: latitude in decimal degrees, e.g. 51.5074.","maxLength":20},"longitude":{"type":"string","description":"type geo: longitude in decimal degrees, e.g. -0.1278.","maxLength":20},"errorCorrection":{"type":"string","description":"Error correction level: L (7%), M (15%), Q (25%) or H (30%). Higher survives damage but holds less data.","default":"M","enum":["L","M","Q","H"],"maxLength":200000},"size":{"type":"integer","description":"SVG width and height in pixels.","default":512,"minimum":64,"maximum":4096},"margin":{"type":"integer","description":"Quiet zone around the code, in modules (4 is the standard).","default":4,"minimum":0,"maximum":16},"foreground":{"type":"string","description":"Dark module colour as #rrggbb.","default":"#000000","maxLength":7},"background":{"type":"string","description":"Background colour as #rrggbb.","default":"#ffffff","maxLength":7}}},"example":{"type":"url","url":"https://pithlab.com","size":256},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/qr-code-generator","page":"https://pithlab.com/tools/qr-code-generator"}}