pdfport
v0.1.0Extract text and metadata from local PDFs, and merge or split PDF files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract_text
Extract text from a local PDF file
| Parameter | Type | Description |
|---|---|---|
file_path * | string |
get_metadata
Read a PDF file's document metadata (title, author, dates, page count)
| Parameter | Type | Description |
|---|---|---|
file_path * | string |
get_pdf_info
Get summary information about a PDF file: page count, page sizes, file size, PDF version
| Parameter | Type | Description |
|---|---|---|
file_path * | string |
merge_pdfs
Merge multiple PDF files into one output file
| Parameter | Type | Description |
|---|---|---|
input_files * | array | |
output_file * | string |
split_pdf
Split a PDF file into one file per page in an output directory
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
output_dir * | string |