Extract named fields of one PDF as JSON (paid, x402)
doc_jsonPAID: read named labels out of a PDF and get one JSON value per field (text, number or date), for $0.0100. We fetch it; no OCR. A label we cannot find is null, never a guess. 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_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The absolute http(s) URL of the PDF, e.g. https://arxiv.org/pdf/1706.03762v7. | |
| fields | No | The labels to read, 1..10, e.g. [{"name":"abstract","label":"Abstract","kind":"text"}]. | |
| maxPages | No | Read at most this many pages: 1..20. Omitted means 20. |