add_qrcode
Insert QR codes into PDF documents with customizable positioning, scaling, and optional text labels. Use image files or environment variables for QR code sources.
Instructions
Add QR code to PDF documents with friendly text below. QR code must be an image file (PNG/JPG). Priority: user provided path > environment variable QR_CODE_IMAGE
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfPath | Yes | PDF file path | |
| qrCodePath | No | QR code image path (PNG/JPG). Has highest priority. If not provided, uses QR_CODE_IMAGE environment variable. | |
| qrScale | No | QR code scale ratio | |
| qrOpacity | No | QR code opacity | |
| qrPosition | No | bottom-center | |
| addText | No | Add friendly text below QR code | |
| customText | No | Custom text (default: 'Scan QR code for more information') |