generate_comparison_doc
Create before/after comparison Word documents with A3 landscape layout, three-column format, visual highlighting, and comments from structured data.
Instructions
Generate a 新旧比較表 (before/after comparison) Word document (.docx). The document follows A3 landscape layout with 旧/新/備考 three-column format. Supports red text for new content, blue underline anchors, and Word comments. Returns base64-encoded docx and saves to local output directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Document specification. Use get_template_schema to see the full format. | |
| output_filename | No | Output filename (without extension). Defaults to doc_title. |