generate_event_qr
Create a scannable QR code for a calendar event so recipients can add it directly to their calendar.
Instructions
Generate a QR code for a calendar event. When scanned, adds the event to the calendar.
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": {
"title": "<title>",
"start": "<start>"
},
"name": "generate_event_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date/time in ISO 8601 format | |
| alert | No | Reminder alert in minutes before the event (e.g. 15 for 15 minutes before) | |
| start | Yes | Start date/time in ISO 8601 format | |
| title | Yes | Event title | |
| width | No | Image width in pixels (PNG only) | |
| allDay | No | Whether this is an all-day event | |
| format | No | Output format: base64 PNG or SVG string | png |
| margin | No | Quiet zone margin in modules | |
| location | No | Event location | |
| description | No | Event description | |
| backgroundColor | No | Background color (hex, e.g. #ffffff) | #ffffff |
| errorCorrection | No | Error correction level: L(7%), M(15%), Q(25%), H(30%) | M |
| foregroundColor | No | Foreground color (hex, e.g. #000000) | #000000 |