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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec": "<spec>"
},
"name": "generate_comparison_doc"
}
}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. |