Make a code
create_codeSave a new code in the account. "url" and "vcard" are changeable codes: they hold a short makemyqrcodes.com link, can be pointed somewhere new after printing, count scans, and use the account's allowance. The other types are static and always free. Links are screened before saving. Returns the code's id, link and a scan test; use download_code for the file.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | type "url": the web address the code opens, e.g. https://example.com/menu | |
| name | No | Shown in the account; made from the content if left out | |
| ssid | No | type "wifi": network name | |
| text | No | type "text": the message shown when scanned | |
| type | Yes | url (website link) and vcard (contact card) are changeable; wifi, text, email, phone and sms are static | |
| design | No | How the code looks. All optional; dark squares on a light background scan best. | |
| ending | No | Changeable codes: a custom link ending (makemyqrcodes.com/<ending>). Random if left out. Can't be changed later. | |
| folder | No | ||
| contact | No | type "vcard": the contact card people save. Needs first, last or org. | |
| email_to | No | type "email": address the new email goes to | |
| email_body | No | ||
| sms_message | No | type "sms": text the message starts with | |
| wifi_hidden | No | type "wifi": the network is hidden | |
| phone_number | No | types "phone" and "sms": the number to call or text | |
| email_subject | No | ||
| wifi_password | No | type "wifi": password (leave out when wifi_security is "nopass") | |
| wifi_security | No | type "wifi": WPA covers WPA2 and WPA3. Default WPA. |