convert_pdf_to_word
Converts a local PDF file to Word (DOCX) format by specifying its file path. Supports quality selection and OCR when needed.
Instructions
Convert a local PDF file to Word (DOCX) using the PDF4me ConvertPdfToWord API. Provide the file path to the PDF. Options: quality (Draft/High), merge_all_sheets, language, OCR when needed, and optional output path. Output is always DOCX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Document language hint for OCR/extraction. | English |
| file_path | Yes | Local path to the PDF file to convert. | |
| output_dir | No | ||
| quality_type | No | Draft or High quality for extraction. | Draft |
| ocr_when_needed | No | Enable OCR when the API determines it is needed. | |
| merge_all_sheets | No | Merge content into a single output when supported. | |
| output_file_name | No |