generate_certificate
Certificate Generator — Generate a printable certificate of achievement or completion as PDF or PNG. [category: generate]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Free text centred at the bottom, printed verbatim ('12 June 2026' works); empty = omitted. | |
| format | No | 'pdf' (default) or 'png' (300 DPI Ghostscript raster). Any other value silently returns the PDF. | |
| template | No | Accepted but does NOT change the layout — every template renders identically today; use borderStyle for the look. | achievement |
| certTitle | No | Certificate heading. Field name is 'certTitle' — not 'title'. | Certificate of Achievement |
| issuerName | No | Printed above the signature line. Empty hides the WHOLE issuer block, issuerTitle included. | |
| borderStyle | No | Unknown values fall back to gold. This is the main visual lever — it colours border, corners, and title. | gold |
| description | No | Optional body text under the title. | |
| issuerTitle | No | Italic line under the signature — rendered only when issuerName is also set. | |
| orientation | No | 'landscape' (default) or 'portrait' (A4). Any value other than 'portrait' renders landscape. | landscape |
| recipientName | Yes | Recipient's name (REQUIRED). Field name is 'recipientName' — not 'recipient'. |