Read PDF
read_pdfExtract text from PDFs page by page for reading, search, or processing; specify pages and max characters. Scanned image-only PDFs return empty pages because they lack a text layer.
Instructions
Extract text from a PDF, page by page. Scanned (image-only) PDFs have no text layer and return empty pages.
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": {
"path": "<path>"
},
"name": "read_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No | Pages, e.g. "1-3,5". Default: first 20. | |
| max_chars | No |