PDF Processor
Overview
Process PDF documents to extract text, tables, and metadata.
Instructions
- •Validate the PDF file exists and is readable
- •Extract text content using appropriate parser
- •Identify and extract tabular data
- •Return structured output
Examples
Input: "Extract the text from report.pdf" Output: Plain text content of the document
Input: "Get all tables from financial-report.pdf" Output: CSV-formatted table data
Error Handling
If the PDF is encrypted, inform the user that a password may be required. If the file is corrupted, return an appropriate error message.