extract_attachment_from_pdf
Extract embedded file attachments from PDFs and save them to your local drive, either as individual files or a JSON manifest.
Instructions
Extract embedded file attachments from a PDF via PDF4me ExtractAttachmentFromPdf (/api/v2/ExtractAttachmentFromPdf). pdf_file_path; optional output_dir (defaults next to PDF). Saves extracted_attachments.json when JSON, decodes outputDocuments to files, or saves/extracts ZIP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| pdf_file_path | Yes | ||
| request_doc_name | No |