pdf_read_text
Extract text from text-based PDFs, from selected pages or entire document. Provides pure text output for search, analysis, or data extraction.
Instructions
Extract text content from a PDF file. Can extract from all pages or specific pages. Works with text-based PDFs (not scanned images).
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": {
"filePath": "<filePath>"
},
"name": "pdf_read_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Specific page numbers to extract (1-indexed). If omitted, extracts all pages. | |
| filePath | Yes | Absolute or relative path to the PDF file |