Page count, first-page size (with an `allSameSize` flag), encryption status, and embedded PDF metadata (title, author, dates, producer, format version).
Plain-text extraction. Optional 1-based page range (`"3"`, `"1-5"`, `"1,3,5-7"`). Output is grouped by page with `===== Page N =====` markers so the model can cite the right page.
Substring search across the whole document. Returns each hit's page, offset within the page, and a snippet of surrounding text. Use for grep-style discovery before a heavier `extract_text`.
Split one PDF into N by page ranges. Each range becomes one output file.
Combine two or more PDFs into one, in the given order.
Delete, rotate, and reorder pages in one pass. `delete` is applied first (page numbers in `rotate` refer to the source PDF); `reorder` is applied to the survivors.
Rasterise PDF pages as PNG or JPG at a chosen DPI. Common DPIs: `96` (screen), `150` (print preview), `300` (print).
Pull embedded images out of a PDF and write each as a PNG. Reports any images skipped because of unsupported pixel layouts (CMYK, palettized, etc).
Hand a local PDF to the TruePath PDF Mac app via `truepath://open?path=…`. Fire-and-forget: macOS launches (or routes to) the app, the URL handler opens the PDF. Use this after reading / analyzing in MCP to drop the user into the GUI for annotation, signing, redaction, etc.