extract_pdf
Extract a PDF into clean Markdown and structured elements (headings, paragraphs). Returns the canonical ExtractedDocument object. mode "hybrid" runs a heavier semantic engine that also reconstructs tables and bounding boxes; the default "fast" engine is prose-only (low confidence.tables).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL of the PDF to extract. | |
| mode | No | fast = prose engine. hybrid = semantic engine with tables + bounding boxes when deployed; falls back to fast with a warning otherwise. | |
| outputs | No | Subset of outputs to include. Default: markdown and elements. | |
| chunkTokens | No | Target chunk size in tokens (when chunks are requested). Default 512. |