convert_pdf_to_markdown
Transform PDF files into Markdown format with AI sampling. Supports local files and URLs. Generates a Markdown file, conversion summary, and page count.
Instructions
Convert a PDF file to Markdown format using AI sampling.
Args: file_path: Local file path or URL to the PDF file output_dir: Optional output directory. Defaults to same directory as input file (for local files) or current working directory (for URLs) Returns: Dictionary containing: - output_file: Path to the generated markdown file - summary: Summary of the conversion task - pages_processed: Number of pages processed
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | ||
output_dir | No |