read_paper_pdf
Extract full text from PDFs via local path or URL. Returns page count, character count, and text; supports page selection and flags scanned PDFs needing OCR.
Instructions
Extract the full text of a PDF given a local file path or an http(s) URL.
If given a URL, the PDF is downloaded to the server's pdf dir first. Returns
local_path, page_count, char count and the extracted text (truncated to
max_chars, or one page if page is given). Scanned PDFs with no text layer
return an empty text plus a note telling you to run the file through OCR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| max_chars | No | ||
| path_or_url | Yes |