insert_image
Insert an image directly into a Google Sheets cell by providing an image URL. Supports fit, stretch, original size, and custom dimensions.
Instructions
Insert an in-cell image from an HTTP(S) URL using IMAGE().
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": {
"spreadsheet_id": "<spreadsheet_id>",
"cell": "<cell>",
"image_url": "<image_url>"
},
"name": "insert_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | ||
| mode | No | FIT | |
| image_url | Yes | ||
| width_pixels | No | ||
| height_pixels | No | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||