qr_code
verifiedv0.1Generates a static QR code (PNG) from text, a URL, or Wi-Fi credentials in the browser. Pass payload text or url with text (0–100000 chars), or payload wifi with wifi { ssid, password, encryption, hidden }. Optional ecc, size (64–2000), margin, dark, light. Variant URLs are not a second machine Tool — pass payload explicitly. Do not use this to encode Base64 (that is base64_encoder) or to hash text (that is hash_generator).
Updated 9/3/2026 · Created 9/3/2026
Input Schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ecc": {
"enum": [
"L",
"M",
"Q",
"H"
],
"type": "string",
"default": "M"
},
"dark": {
"type": "string",
"default": "#000000",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"size": {
"type": "integer",
"default": 512,
"maximum": 2000,
"minimum": 64
},
"text": {
"type": "string",
"default": "",
"maxLength": 100000
},
"wifi": {
"type": "object",
"required": [
"ssid"
],
"properties": {
"ssid": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"hidden": {
"type": "boolean",
"default": false
},
"password": {
"type": "string",
"default": "",
"maxLength": 200
},
"encryption": {
"enum": [
"WPA",
"WEP",
"nopass"
],
"type": "string",
"default": "WPA"
}
},
"additionalProperties": false
},
"light": {
"type": "string",
"default": "#ffffff",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"margin": {
"type": "integer",
"default": 4,
"maximum": 16,
"minimum": 0
},
"payload": {
"enum": [
"text",
"url",
"wifi"
],
"type": "string",
"default": "text"
}
},
"additionalProperties": false
}Full Contract
{
"name": "qr_code",
"description": "Generates a static QR code (PNG) from text, a URL, or Wi-Fi credentials in the browser. Pass payload text or url with text (0–100000 chars), or payload wifi with wifi { ssid, password, encryption, hidden }. Optional ecc, size (64–2000), margin, dark, light. Variant URLs are not a second machine Tool — pass payload explicitly. Do not use this to encode Base64 (that is base64_encoder) or to hash text (that is hash_generator).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ecc": {
"enum": [
"L",
"M",
"Q",
"H"
],
"type": "string",
"default": "M"
},
"dark": {
"type": "string",
"default": "#000000",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"size": {
"type": "integer",
"default": 512,
"maximum": 2000,
"minimum": 64
},
"text": {
"type": "string",
"default": "",
"maxLength": 100000
},
"wifi": {
"type": "object",
"required": [
"ssid"
],
"properties": {
"ssid": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"hidden": {
"type": "boolean",
"default": false
},
"password": {
"type": "string",
"default": "",
"maxLength": 200
},
"encryption": {
"enum": [
"WPA",
"WEP",
"nopass"
],
"type": "string",
"default": "WPA"
}
},
"additionalProperties": false
},
"light": {
"type": "string",
"default": "#ffffff",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"margin": {
"type": "integer",
"default": 4,
"maximum": 16,
"minimum": 0
},
"payload": {
"enum": [
"text",
"url",
"wifi"
],
"type": "string",
"default": "text"
}
},
"additionalProperties": false
}
}GET /api/tool/simpletoolstack.com/qr_code