read_local_pdf
Extract text from local PDF files outside Zotero, including specific page ranges, by providing a file path and optional start and end pages.
Instructions
Extract text from any PDF file on the local machine.
Use this for PDFs that are NOT managed by Zotero — e.g. files in
~/Documents, ~/Downloads, or any other folder. If LOCAL_PDF_DIR is
set, relative filenames are resolved against that directory.
Args:
file_path: Path to the PDF (absolute, ~-relative, or relative to LOCAL_PDF_DIR).
start_page: First page to extract (0-indexed, default: first page).
end_page: Last page to extract (exclusive, default: last page).
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": {
"file_path": "<file_path>"
},
"name": "read_local_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_page | No | ||
| file_path | Yes | ||
| start_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |