pdf_text
The text of a public PDF, page by page: pass the http(s) URL of a whitepaper, filing, invoice or paper and get every page's text with page markers, the page count and the file size (up to 15 MB and 200 pages). A file that is not a PDF, will not open or has no text layer (scanned images) is refused before any charge. For a web page use page_extract or page_markdown. $0.003 per call over x402; pass a signed payment in payment to buy inside this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the http(s) URL of a PDF | |
| payment | No | a signed x402 payment (the same base64 payload you would put in the PAYMENT-SIGNATURE header). Pass it here and the purchase completes inside this tool call. |