word_extract_images
Extract images from Word .docx files and return metadata including filename, path, dimensions, format, and size.
Instructions
提取 Word 文档中的图片。
返回包含每张图片元信息的列表,字段包括 filename、path、width、height、format、size_bytes。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Word 文档路径(支持相对路径和绝对路径,仅支持 .docx 格式) | |
| output_dir | No | 图片输出目录路径(默认 ./pics/) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |