Make a QR code
qr_createA QR code for a link or any text (a payment link, a booking page, Wi-Fi details), saved in the file store as PNG or SVG with a download link. Dark modules must contrast with the background so phones can read it. Costs $0.01 per call; nothing if it fails.
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": "qr_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dark | No | #171717 | |
| data | Yes | ||
| name | No | File name; defaults to "QR code". | |
| size | No | PNG width and height in pixels. | |
| light | No | #ffffff | |
| format | No | png | |
| error_correction | No | Higher survives damage or a logo on top, at the cost of density. | medium |