convert_pdf_to_powerpoint
Convert a local PDF file into an editable PowerPoint (PPTX) presentation. Provide the file path and optionally set quality, language, OCR, and merge preferences.
Instructions
Convert a local PDF file to PowerPoint (PPTX) using the PDF4me ConvertPdfToPowerPoint API. Provide the file path to the PDF. Options: quality (Draft/High), language, OCR when needed, merge_all_sheets, and optional output path. Output is always PPTX.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "convert_pdf_to_powerpoint"
}
}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 presentation when supported. | |
| output_file_name | No |