read_barcodes
Read barcodes and QR codes from PDF files, returning structured JSON data. Specify barcode types and page ranges for precise extraction.
Instructions
Read barcodes and QR codes from a local PDF using the PDF4me ReadBarcodes API. Provide the file path, barcode types (e.g. all, qrCode, dataMatrix, code128), and pages. Always requests async processing (isAsync true); on HTTP 202 the tool polls the Location URL. Returns structured barcode data as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Pages expression like "all", "1", "1,3,5", "2-5", "1,3,7-10", "2-". | all |
| file_path | Yes | Local path to the PDF file. | |
| barcode_type | No | Barcode type filters sent to the API (defaults to ["all"]). |