preview_qrcode
Generate a QR-code PNG for an invitation so you can inspect the image before placing it on a wedding card; returns the PNG or a download link if it exceeds 10 MiB.
Instructions
Generate a QR-code PNG for an invitation. Returns the image so it can be inspected (or, if it is ever over 10 MiB on a hosted install, a signed, expiring download link). Use set_card_project_qrcode to actually place it on a card.
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": {
"url": "<url>"
},
"name": "preview_qrcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL the QR code will resolve to | |
| enabled | No | Whether the QR code is enabled. Default: true. | |
| url_type | No | CUSTOM (default) | WEDDING_WEBSITE | WEDDING_WEBSITE_RSVP | |
| dimension | No | SMALL | MEDIUM (default) | LARGE |