Insert image
insert_imagePlace an image at a specific Excel cell, optionally set width or height in centimeters, and return its name and cell location. Set only width or height to keep aspect ratio; set both to stretch.
Instructions
Place an image at a cell. Returns its name and cells. One of width_cm or height_cm keeps the ratio; both stretch it.
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": {
"path": "<path>",
"sheet": "<sheet>",
"image_path": "<image_path>",
"at": "<at>"
},
"name": "insert_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ||
| name | No | Unique among the sheet's charts and images. | |
| path | Yes | ||
| sheet | Yes | ||
| width_cm | No | Default: natural size. | |
| height_cm | No | Alone, the ratio is kept. | |
| image_path | Yes | PNG or JPEG in a workbook folder. |