pdf_to_text
PDF to plain text or markdown, page by page (text-layer PDFs only). Costs $0.0025 USDC (x402).
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": "pdf_to_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of a PDF (or image for OCR) | |
| format | No | ||
| file_base64 | No | Base64-encoded file |