Extract text from a PDF
pdf_extract_textReads a PDF from its public https address and returns its text, page by page (parse / read a PDF: invoices, papers, reports, contracts, forms…). Up to 10 MB; use start to read further. Use when: you need the text content of a PDF file. Not for scanned PDFs (images only): those need OCR. Example: {"url":"https://pdf.faceabot.com/sample.pdf"}
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_extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https address of the PDF file | |
| pages | No | Optional pages to read, e.g. "1-3" or "2,5". Default: all | |
| start | No | Character offset to continue a long text | |
| max_chars | No |