document_to_markdown
Downloads a public document (PDF, DOCX, XLSX, ODT, CSV, HTML, XML, images) up to 10 MB and returns its content as clean Markdown for LLM use. Images are described by a vision model. 0.005 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public document URL | |
| maxChars | No | ||
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |