create_word_document
Generate Word documents from HTML content with automatic styling and formatting. Save files directly to a specified output directory with auto-generated names, eliminating conversion loops.
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
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to write to Word document (supports HTML) | |
preserveFormatting | No | Preserve HTML formatting and styles | |
title | No | Document title | Document |