pdfport

v0.1.0
io.github.CloudCorpRecords/pdfport Checked 18 hours ago Published 1 month ago

Extract 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

ParameterTypeDescription
file_path *string

get_metadata

Read a PDF file's document metadata (title, author, dates, page count)

ParameterTypeDescription
file_path *string

get_pdf_info

Get summary information about a PDF file: page count, page sizes, file size, PDF version

ParameterTypeDescription
file_path *string

merge_pdfs

Merge multiple PDF files into one output file

ParameterTypeDescription
input_files *array
output_file *string

split_pdf

Split a PDF file into one file per page in an output directory

ParameterTypeDescription
file_path *string
output_dir *string