PDF to text
pdfA public PDF URL in, its text page by page out (up to 50 pages, 10 MB; text-based PDFs). Paid: $0.008 USDC on Base via x402 (charged only when text comes back). Unpaid calls return x402 payment requirements; retry with _meta["x402/payment"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of a PDF. | |
| pages | No | Optional page numbers (up to 50): [1, 2] or "1-3,7". |