pdf_info
Inspect a PDF to get page count, per-page size, and text layer presence. Use this to decide between text extraction, OCR, or image conversion.
Instructions
Inventory a PDF before reading it: page count, per-page size (mm), and — the part that matters — which pages carry a text layer and which are scans/drawings. Use it to decide between pdf_extract_text (text layer), ocr_pdf (scans), and pdf_pages_to_images (look at drawings). Reads the file on this machine; nothing leaves it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |