Extract tables from a PDF
pdf_tablesExtract tables from local PDFs as Markdown, skipping prose. Reads cell values directly from the document—no OCR—for accurate invoices, statements, and reports.
Instructions
Return only the tables from a local PDF as Markdown, skipping prose. Useful for invoices, financial statements and reports where the numbers are the point. Tables are detected from the PDF's own drawing operations and text alignment — the cell values are read directly from the document, not guessed by a model or OCR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path, or path relative to an allowed root, of a .pdf file | |
| pages | No | 1-indexed pages to search for tables. Omit for the whole document. | |
| maxChars | No | Truncation ceiling. Defaults to the server setting. |