Convert PDF to Markdown
pdf_to_markdownConvert a PDF into readable Markdown for analysis and retrieval.
Use this when an agent needs the text, headings, tables, and document structure from a PDF. Supply exactly one source: a public URL or base64 PDF bytes. The optional page range is useful for large documents.
Returns: Markdown text on success, or an actionable error object on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL pointing directly to a PDF. Provide this or pdf_base64, never both. | |
| page_range | No | Optional pages to convert, such as '1-5'. Omit to convert the entire PDF. | |
| pdf_base64 | No | Base64-encoded PDF bytes. Provide this or url, never both. |