Batch Import Documents
sdd_batch_importScans a directory for supported document types and converts each to Markdown through the SDD pipeline. Provides conversion results and per-file metadata.
Instructions
Scans a directory for supported documents (PDF, DOCX, PPTX, TXT, MD, VTT, SRT) and converts each to Markdown. Returns an array of conversion results with total count and per-file metadata. Compressed PDF/DOCX/PPTX files (what Office/PDF exporters typically produce) are counted as failed with the reason — only uncompressed ones convert natively; use the MarkItDown MCP integration (uvx markitdown-mcp) for full Office/PDF support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite existing files if true | |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |
| documents_dir | Yes | Directory containing documents to import (PDF, DOCX, PPTX, TXT, MD). |