insert_doc_image
Insert images into Google Docs from Drive or a URL using specified position, width, and height. Requires document ID, image source, and user email. Returns confirmation with insertion details.
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 |
|---|---|---|---|
| docs_service | Yes | ||
| document_id | Yes | ||
| drive_service | Yes | ||
| height | No | ||
| image_source | Yes | ||
| index | Yes | ||
| user_google_email | Yes | ||
| width | No |