convert_to_markdown
Convert documents from URLs to Markdown. Submit a URL of supported file types, automatically poll for completion, and receive a download link.
Instructions
One-step document conversion. Purpose: Submit URL, poll until done, return download link. Constraints: Supported formats: PDF, DOC, DOCX, PPT, PPTX, PNG, JPG, JPEG, HTML. Auto-configures model and OCR. Side effect: Creates task and polls MinerU API. Use for quick conversion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the document. Supported formats: PDF, DOC, DOCX, PPT, PPTX, PNG, JPG, JPEG, HTML | |
| model_version | No | Model version (auto-detected) | vlm |
| poll_interval | No | Seconds between status checks (default: 10) | |
| max_wait_seconds | No | Maximum time to wait for completion (default: 300) |