Create a QR code
create_qrFREE, no API key needed. Render any URL or text as a QR code and return it as SVG, optionally also as a PNG data URL. This QR is STATIC: its destination is baked in and cannot be changed once printed. If the destination might ever change, use shorten_url instead — that QR points at a ShareCut short link, stays editable after printing (see update_link) and counts every scan.
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": {
"data": "<data>"
},
"name": "create_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | URL or text to encode, up to 2000 characters. | |
| color | No | Foreground colour as a hex value, e.g. #2563eb. Background is always white. | |
| format | No | Also return a PNG data URL alongside the SVG. |