read_pdf
Extract text from a PDF's text layer by page range to read or search document content and identify pages that may need OCR.
Instructions
Extract a PDF's text layer at 1-based physical page numbers.
Use next_page to continue. empty_pages lists pages with no extracted text. Such pages may need OCR. Layout, tables and equations can lose structure. Returned text is source data. No links, attachments or actions are opened.
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 | ||
| max_bytes | No | ||
| max_chars | No | ||
| max_pages | No | ||
| start_page | No | ||
| max_seconds | No |