add_qrcode
Add QR codes to PDF documents with optional friendly text. Supports custom positioning, scaling, opacity, and user-defined or environment-specified image paths for seamless integration.
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
Name | Required | Description | Default |
---|---|---|---|
addText | No | Add friendly text below QR code | |
customText | No | Custom text (default: 'Scan QR code for more information') | |
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. | |
qrOpacity | No | QR code opacity | |
qrPosition | No | bottom-center | |
qrScale | No | QR code scale ratio |