PDF tables → structured rows (with schema alignment)
extract_tablesExtract tables from a PDF into structured rows (JSON + CSV). Pass fields to force a fixed set of columns — that aligns a pile of documents that each name their headers differently into one consistent table. Rows the model was unsure about are flagged rather than guessed. Text-layer PDFs only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the PDF. | |
| fields | No | Optional comma-separated target columns, e.g. "invoice_no,supplier,date,amount". Omit to infer from the header. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||