Create static QR code
create_static_qr_codeUse this when the user wants a QR code image for a web link, plain text, Wi-Fi network, email, phone number, text message or contact card and does not need to edit, track or manage it afterwards. Returns a PNG or SVG image and a download link. No account is needed. The code cannot be changed after it is made and no scan counts are kept. Do not use it when the user wants to edit the destination later, see scan numbers, add a logo, or make a code for a file, menu, landing page, business card or product (use generate_qr_code).
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": {
"type": "<type>"
},
"name": "create_static_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | For URL: the web address, starting with https://. | |
| text | No | For TEXT: the text, up to 2,000 characters. | |
| type | Yes | What the code holds: URL, TEXT, WIFI, EMAIL, PHONE, SMS or CONTACT. | |
| format | No | png (default) or svg. | png |
| email_to | No | For EMAIL: the recipient address. | |
| wifi_name | No | For WIFI: the network name (SSID). | |
| email_body | No | For EMAIL: optional message text. | |
| sms_message | No | For SMS: optional message text. | |
| wifi_hidden | No | For WIFI: true if the network name is hidden. | |
| phone_number | No | For PHONE or SMS: the number, with country code. | |
| contact_email | No | For CONTACT: email address. | |
| contact_phone | No | For CONTACT: phone number. | |
| email_subject | No | For EMAIL: optional subject line. | |
| wifi_password | No | For WIFI: the password. Include only if the user gave it. Leave empty for open networks. | |
| wifi_security | No | For WIFI: WPA (most home networks), WEP or nopass. | |
| contact_website | No | For CONTACT: website address. | |
| background_color | No | Hex colour such as #ffffff. | |
| foreground_color | No | Hex colour such as #000000. Keep strong contrast with the background so the code scans. | |
| contact_last_name | No | For CONTACT: last name. | |
| contact_first_name | No | For CONTACT: first name. | |
| contact_organization | No | For CONTACT: company or organisation. |