add_image
Add an image to the end of a Word document. Specify file paths, dimensions in inches, and alignment to control the insertion.
Instructions
在文档末尾添加图片。
Args: file_path: 文档路径 image_path: 图片文件路径 (支持 PNG, JPG, GIF, BMP 等格式) width_inches: 图片宽度 (英寸),不指定则使用原始宽度 height_inches: 图片高度 (英寸),不指定则按宽度等比缩放 alignment: 对齐方式 ("LEFT", "CENTER", "RIGHT")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | No | CENTER | |
| file_path | Yes | ||
| image_path | Yes | ||
| width_inches | No | ||
| height_inches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |