pdf_inspect
List all AcroForm fields in a PDF—names, types, options, values, maxLength—and generate a ready-to-use fillTemplate object for pdf_fill. Flags XFA presence to avoid losing XFA data when filling.
Instructions
List a PDF's AcroForm form fields — names, types, options, current values, per-field maxLength where declared — plus a paste-ready fillTemplate object for pdf_fill and a hasXFA flag (hybrid AcroForm/XFA inputs lose their XFA layer when filled). A PDF with no form returns count 0. Call this FIRST when filling an unfamiliar PDF: you cannot fill fields whose names you do not know, and values longer than a field's maxLength are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | Yes | Absolute path to the PDF to inspect |