create_word_document
Generate Word documents from HTML content with automatic styling and formatting. Create documents directly without conversion loops, saving to a specified output directory.
Instructions
Create a Word document directly from content with beautiful formatting. This tool is specifically designed for creating Word documents from scratch, avoiding conversion loops. Supports HTML content with automatic styling and formatting. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to write to Word document (supports HTML) | |
| title | No | Document title | Document |
| preserveFormatting | No | Preserve HTML formatting and styles |