PDF to text, page by page ($0.002/call)
pdf_text$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Fetch and read the web] Downloads one public PDF and returns its text layer page by page, with page count and title metadata. Input: url, optional max_pages. Limits: 10 MB, 50 pages, 500,000 characters; password-protected PDFs are refused and scanned images are not OCRed; robots.txt obeyed for every URL and redirect. Cached 1 h.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL or bare domain, e.g. https://example.com | |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| max_pages | No | Pages to read, 1-50 (default 50) | 50 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| info | No | ||
| tool | No | ||
| bytes | No | ||
| cache | No | ||
| pages | No | ||
| _trial | No | Present when the call was a free trial call. | |
| provider | No | ||
| price_usd | No | ||
| truncated | No | ||
| page_count | No | ||
| text_layer | No | ||
| pages_returned | No | ||
| total_characters | No |