insert_doc_image
Insert an image into a Google Doc from a Drive file ID or public URL, specifying position and optional dimensions.
Instructions
Inserts an image into a Google Doc from Drive or a URL.
Args: user_google_email: User's Google email address document_id: ID of the document to update image_source: Drive file ID or public image URL index: Position to insert image (0-based) width: Image width in points (optional) height: Image height in points (optional)
Returns: str: Confirmation message with insertion details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| width | No | ||
| height | No | ||
| document_id | Yes | ||
| image_source | Yes | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |