pdf_clean
$0.02 USDC on Base (x402 v2). SSRF-Safe PDF-to-Markdown & Metadata Extractor — Use this tool when an AI agent needs to read a public PDF whitepaper, invoice, research paper, or regulatory filing without downloading binary blobs into context. Extracts clean st
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_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http:// or https:// URL pointing to a PDF file (max 4 MB). | |
| max_chars | No | Maximum number of Markdown characters to return. | |
| max_pages | No | Maximum number of PDF pages/sections to extract. |