convert_pdf_file
Transform local PDF files into Markdown format, supporting single files or lists. Includes OCR functionality for enhanced text extraction from scanned documents.
Instructions
Convert local PDF file to Markdown, supports single file or file list
Args:
file_path: PDF file local path or path list, can be separated by spaces, commas, or newlines
enable_ocr: Whether to enable OCR (default: True)
Returns:
dict: Conversion result information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enable_ocr | No | ||
file_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"enable_ocr": {
"default": true,
"title": "Enable Ocr",
"type": "boolean"
},
"file_path": {
"title": "File Path",
"type": "string"
}
},
"required": [
"file_path"
],
"title": "convert_pdf_fileArguments",
"type": "object"
}