PDF to text
pdf_to_textRead a PDF from a URL as text, page by page, with its title, author and page count. Works on text-layer PDFs up to 25 MB and 300 pages; scanned PDFs without a text layer are refused at no charge.
$0.005 USDC per call over x402. Failed calls cost nothing. Call without payment to get a quote. The first 3 calls a day through this tool server are free (no wallet needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of a PDF. | |
| payment | No | Base64 x402 payment payload. Omit it to receive a quote; sign that and call again. | |
| max_pages | No | Read at most this many pages (default 50). |