Extract Pages From PDF
extract_pages_from_pdfExtract selected pages from a PDF by specifying page numbers like '1,3,5' or ranges '1-5,10' to create a new PDF.
Instructions
Extract selected pages from a PDF via PDF4me /api/v2/Extract. Inputs: pdf_file_path and page_numbers (e.g. '1,3,5' or '1-5,10'). Optional request_doc_name and output path settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| page_numbers | No | 1 | |
| pdf_file_path | Yes | ||
| output_file_name | No | ||
| request_doc_name | No |