Requires the
pdf-parse peer dependency.Quick Start
Config
Maximum characters to return per extraction. Longer text is truncated.
Tools
| Tool | Description |
|---|---|
pdf_extract_text | Extract all text from a PDF. Accepts a file path, URL, or base64 data. |
pdf_get_metadata | Get PDF metadata — title, author, page count, creation date. |
pdf_extract_pages | Extract text from specific pages (1-indexed). |
Peer Dependency
Input Sources
Thesource parameter accepts three formats:
- File path:
/path/to/document.pdf - URL:
https://example.com/report.pdf - Base64: Raw base64-encoded PDF data