insert_excel_image
Add an image from a local file into an Excel workbook, anchoring it to a cell. Optionally set display width and height.
Instructions
Insert an image from a local file into a workbook, anchored at a cell.
@param file_path: Absolute path to the .xlsx/.xlsm file. @param image_path: Absolute path to the image file (PNG/JPEG/GIF/BMP). @param cell: Anchor cell coordinate (e.g. "B2"). @param sheet_name: Target sheet. None = first sheet. @param width: Display width in pixels. None = natural size. @param height: Display height in pixels. None = natural size. @return: Confirmation with anchor position and display size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | ||
| width | No | ||
| height | No | ||
| file_path | Yes | ||
| image_path | Yes | ||
| sheet_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |