x402_pdftext
Extract text from PDFs via URL or base64 file. Submits an asynchronous job, returns a ticket, and requires polling with x402_poll_job to retrieve results. Pay-per-call using USDC.
Instructions
PDF text extraction ($0.02 USDC/call). ASYNC — returns a job ticket; poll with x402_poll_job (job_type 'box').
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": "x402_pdftext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | PDF URL (or use file) | |
| file | No | Base64-encoded PDF (or use url) | |
| filename | No | Filename |