Create QR Code
create_qr_codeSave a styled QR code to the account and return it with a PNG preview. Dynamic types (url, vcard, event, links) encode a wx93 short link: scans are counted and the content can change after printing (vcard, event and links get a hosted page). Static types (text, wifi, email, phone, sms, whatsapp, geo, crypto) carry their content directly. Data keys per type: url {url}; vcard {first, last?, org?, title?, phone?, email?, url?, address?, note?}; event {title, start, end?, tz?, location?, description?, url?}; links {title, description?, links: "Label | https://… per line"}; text {text}; wifi {ssid, password?, encryption? WPA|WEP|nopass, hidden?}; email {to, subject?, body?}; phone {number}; sms {number, message?}; whatsapp {number, message?}; geo {lat, lng, label?}; crypto {coin, address, amount?, label?}.
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>",
"data": "<data>"
},
"name": "create_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The type's fields (see the description). | |
| name | No | ||
| type | Yes | ||
| alias | No | Dynamic codes, Pro and up: a custom short code. | |
| style | No | How the code looks. Colours are hex. Too little contrast between fg and bg is refused. | |
| domain | No | Dynamic codes: wx93.me (default) or a verified custom domain. |