open_pdf
Detect fillable fields in PDFs and scanned images using saved templates, embedded AcroForms, or machine learning.
Instructions
Open a PDF (or a scanned image: jpg/png/tiff) and detect its fillable fields.
Images are converted to a single-page PDF automatically (deterministically, so a template saved for a photo matches the same photo next time).
Resolution order (best source wins):
Saved template matching this exact file (deterministic, confidence 1.0)
Embedded AcroForm fields (deterministic, confidence 1.0)
ML detection (each field carries a confidence score)
force_detect=True skips steps 1-2 and re-runs ML detection from scratch — use it to rebuild a layout when the saved template is wrong or stale. min_confidence drops ML fields scored below it (templates/AcroForm are always kept). Returns a JSON summary + the field list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_pages | No | ||
| force_detect | No | ||
| min_confidence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |