pdf_tables
Extract the tables (CSV, JSON, Markdown) and per-page text from one PDF at a public URL. Digital PDFs ~97% cell accuracy; scanned pages (OCR) ~80%. Priced per page via x402 USDC on Base: $0.005/page with ocr=never, $0.015/page with ocr=auto. Charged only if every page succeeds. Max 20 pages per call. Retry with the PAYMENT-SIGNATURE header.
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_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | never (default, digital PDFs) or auto (OCR scanned pages, 3x price) | |
| url | Yes | http(s) URL of a PDF | |
| pages | No | page range, e.g. 1-3,7 (default: all, max 20) |