Insert an image
insert_imageInsert an inline image from a public URL into a Google Doc, with options for position, size, and alignment.
Instructions
Insert an inline image from a public URL. Position via at (top/end/or a unique text anchor), size via width/height (points), and align left/center/right. A direct edit, not a tracked suggestion. Note: floating/text-wrapped images are not supported by the Docs API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | "top", "end", or a unique text snippet to insert after (default top) | |
| tab | No | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. | |
| uri | Yes | public image URL | |
| align | No | ||
| width | No | points | |
| height | No | points | |
| account | No | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. | |
| documentId | Yes |