Extract text and Markdown from PDFs
extract_pdf_textDownload public PDF URLs and return clean text and/or Markdown, page count, metadata and a scanned-PDF flag (image-only PDFs return no text). Up to 2 PDFs per call, up to 50 pages each.
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": {
"urls": "<urls>"
},
"name": "extract_pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Public http(s) PDF URLs (max 2). | |
| format | No | Output format. | |
| max_pages | No | Max pages per PDF (default 30). | |
| include_pages | No | Add per-page text. |