extract_tables
Read tables from a local PDF as rows of cell text, with page numbers and header row counts, to support structured data extraction.
Instructions
The tables of a local PDF as rows of cell text.
tables holds one entry per table in reading order: page (0-based),
rows (a list of rows, each a list of cell strings, every row the table's
width) and header_rows (how many leading rows are header rows). A
spanning cell sits at its first row and column; the cells it covers are
empty strings.
Args: path: The PDF's absolute path on this machine. pages: The 0-based pages to look at; omit for the whole document, up to the server's page limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |