Import Document
sdd_import_documentImports documents in PDF, DOCX, PPTX, TXT, MD, VTT, or SRT format and raw text, converting them to Markdown for Spec-Driven Development processing. Returns converted content, metadata, and word count.
Instructions
Imports a document (PDF, DOCX, PPTX, TXT, MD, VTT, SRT) or raw text and converts it to Markdown for SDD processing. Returns the converted content, metadata, and word count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Absolute or relative path to the document file (PDF, DOCX, PPTX, TXT, MD). | |
| raw_text | No | Raw text content to process directly instead of reading from file. | |
| format | No | Document format. Use 'auto' for automatic detection from file extension. | auto |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |