docprocess_create_word | Create a Word document (.docx) from scratch using a JSON specification. Structure: sections contain children (headings, paragraphs, bullets, tables). Paragraphs can contain simple text or a children array of formatted text runs. Tables contain rows (arrays of cell content). Supports headings (levels 1-6), paragraphs with text formatting (bold, italic, underline, strike, doubleStrike, highlight, superScript, subScript, allCaps, smallCaps, color, font, size), bullet lists, and tables. All text content must be in paragraph elements (including table cells). Returns the URL to the created Word document. |
docprocess_csv_to_xlsx | Convert CSV files to Excel format (.XLSX). Returns the converted Excel file with download URL. |
docprocess_docx_to_txt | Extract text content from Word documents (.DOCX) to plain text format. Returns the extracted text file with download URL. |
docprocess_fill_pdf | Fill a PDF form with provided data using automatic field matching. Supports text fields, checkboxes, and dropdowns. Uses multiple fallback strategies: (1) exact field name match, (2) case-insensitive partial name match. For checkboxes, use boolean values or “true”/“checked”. For dropdowns, matches option text case-insensitively. Returns the URL to the filled PDF with a summary of fields filled. |
docprocess_fill_word_tpl | Fill a Word document template (.docx) with provided data. Supports: simple placeholders {name}, nested objects {user.firstName}, loops {#items}{name}{/items}, conditionals {#condition}…{/condition}, inverted conditionals {^condition}…{/condition}, and expressions {price * quantity}. All formatting from the original template is preserved. Loop tags must be closed: {#items}…{/items}. Placeholders are case-sensitive. Returns the URL to the filled Word document. |
docprocess_html_to_pdf | Convert HTML files to PDF format. Provide one or more URLs to HTML files (must be direct links to .html files, not web pages). Returns PDF download URLs. |
docprocess_invoice_extract | Extract structured line items from invoices (PDF or image). Uses AI to discover columns dynamically from the document and extract all line items. Supports multi-page PDFs with automatic sharding and parallel processing. Returns a jobId - use docprocess_invoice_extract_poll to check status and retrieve results (CSV, JSON, and summary artifacts). |
docprocess_invoice_extract_poll | Check the status of an invoice line-item extraction job. Call this after docprocess_invoice_extract to check if processing is complete. Poll every 10-15 seconds until status is “completed” or “failed”. When completed, returns artifact URLs for the extracted CSV, JSON, and summary files. |
docprocess_md_to_docx | Convert Markdown files (.MD) to Word document format (.DOCX). Returns the converted Word document with download URL. |
docprocess_md_to_pdf | Convert Markdown files (.MD) to PDF format. Returns the converted PDF file with download URL. |
docprocess_ocr | Extract text from images and PDFs using OCR (Optical Character Recognition). Supports PNG, JPEG, GIF, WebP, BMP, TIFF, SVG images and PDF documents. Returns extracted text or detailed OCR data with bounding boxes. For large files, returns a responseId - use docprocess_ocr_poll to check status. |
docprocess_ocr_poll | Check the status of an OCR processing job. Call this after docprocess_ocr with async=true to check if processing is complete. Poll every 5-10 seconds until status is “completed” or “failed”. |
docprocess_pdf_to_txt | Extract text content from PDF files (.PDF) to plain text format. Returns the extracted text file with download URL. |
docprocess_pptx_to_txt | Extract text content from PowerPoint presentations (.PPTX) to plain text format. Returns the extracted text file with download URL. |
docprocess_split_pdf | Split a PDF file into smaller PDF files by page ranges. Each chunk is uploaded to file storage and returns metadata with download information. Useful for breaking large PDFs into manageable pieces for processing. Supports specifying pages per chunk and optional start/end page ranges. Requires a collectionId to specify where split files are stored — use filestorage_list_collections to find available collections. |
docprocess_validate_csv | Validate CSV file structure, data quality, and consistency. Can validate CSV files directly or CSV files extracted from Excel. Returns validation results with errors and warnings. |
docprocess_word_ai | Process Word documents with AI while preserving ALL formatting (bold, italic, fonts, colors, tables, lists, headers, images). Supports translation, grammar correction, rewriting, summarization, and any text transformation. Returns a responseId - use docprocess_word_ai_poll to check status. |
docprocess_word_ai_poll | Check the status of a Word document AI processing job. Call this after docprocess_word_ai to check if processing is complete. Poll every 5-10 seconds until status is “completed” or “failed”. |
docprocess_xlsx_to_csv | Convert Excel files (.XLSX) to CSV format. Supports both single-sheet and multi-sheet workbooks. Multi-sheet files create separate CSV files for each sheet. |
docprocess_xml_to_json | Convert XML files to JSON format. By default returns the full JSON data in the response. Set store_xml_json=true to store as a file and get a download URL instead. |