Extract the text of one PDF (paid, x402)
doc_textPAID: extract text from a PDF, page by page (up to 20 pages), for $0.0100. We fetch it; no OCR. Unpaid, it returns the price; pay with x402 (USDC on Base, Solana, Polygon, Arbitrum, Avalanche, Sei or X Layer) in _meta['x402/payment'] and call again. Feedback: POST /feedback (free). Read daily; no individual reply.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doc_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The absolute http(s) URL of the PDF, e.g. https://arxiv.org/pdf/1706.03762v7. | |
| maxPages | No | Return at most this many pages: 1..20. Omitted means 20. |