extract_pages_markdown
Extracts per-page Markdown from PDFs, including layout metadata for tables, columns, and OCR info. Accepts a file path or base64-encoded PDF data, with optional page numbers.
Instructions
Extract per-page Markdown with layout metadata.
Returns page-by-page Markdown along with tables, columns, and OCR info. Pages are 0-indexed; returned page numbers are 1-indexed.
Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. pages: Optional list of 0-indexed page numbers to extract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | No | ||
| pages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |