extract_document_tables
Extract tables from PDF documents and get structured JSON with rows, columns, and CSV per table. Uses lattice/stream detection with automatic fallback to handle varied table layouts.
Instructions
Extract tabular data from a PDF (Camelot lattice/stream with a PyMuPDF fallback; flavor='auto' picks the first strategy that finds tables). Returns JSON with rows, columns and CSV per table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| flavor | No | auto | |
| pdf_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |