# insert_doc_image (https://sellersheetai.com/docs/mcp-api/tools/insert_doc_image)

> Insert an inline image from a public URL.

Access: **WRITE** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "insert_doc_image",
  "arguments": {
    "documentId": "<documentId>",
    "imageUri": "<imageUri>"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/insert_doc_image \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"documentId":"<documentId>","imageUri":"<imageUri>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `documentId` | string | yes | the Google Docs document ID. |
| `imageUri` | string | yes | a publicly readable URL (at most 2 kB) of a PNG, JPEG or GIF under 50 MB and 25 megapixels — a .webp is refused. |
| `index` | integer |  | Insertion index. Omit to append. |
| `widthPt` | number |  | size in points, applied only when BOTH are given (one alone is ignored); the image is scaled to fit inside that box, keeping its aspect ratio. |
| `heightPt` | number |  | size in points, applied only when BOTH are given (one alone is ignored); the image is scaled to fit inside that box, keeping its aspect ratio. |

## Result

- { inserted: true }