x402_pdf_extract
Extract text content from PDF documents via URL using PyMuPDF. Handles multi-page PDFs and returns extracted text, page count, and metadata with automatic USDC micropayments.
Instructions
Extract text content from a PDF document via URL. Price: $0.01 USDC per extraction.
Uses PyMuPDF for fast text extraction. Handles multi-page PDFs. Without X402_PRIVATE_KEY, only the free test endpoint is available.
Returns: extracted text, page count, and metadata.
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": {
"pdf_url": "<pdf_url>"
},
"name": "x402_pdf_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_url | Yes | URL of the PDF to extract text from |