write_word_document
Generate Word documents in DOCX or DOC format with structured content including titles, paragraphs, and tables for automated document creation.
Instructions
Generates a Word document in DOCX format, or DOC via LibreOffice conversion.
:param filename: Target output path ending with .docx or .doc :param title: Optional document title :param paragraphs: Optional paragraph list written in order :param tables: Optional table definitions using title, headers, and rows :return: JSON payload describing the generated file path and format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| title | No | ||
| paragraphs | No | ||
| tables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |