Skip to main content
Glama

Google Workspace MCP Server

by ZatesloFL

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

NameRequiredDescriptionDefault
docs_serviceYes
document_idYes
drive_serviceYes
heightNo
image_sourceYes
indexYes
user_google_emailYes
widthNo

Input Schema (JSON Schema)

{ "properties": { "docs_service": { "title": "Docs Service" }, "document_id": { "title": "Document Id", "type": "string" }, "drive_service": { "title": "Drive Service" }, "height": { "default": null, "title": "Height", "type": "integer" }, "image_source": { "title": "Image Source", "type": "string" }, "index": { "title": "Index", "type": "integer" }, "user_google_email": { "title": "User Google Email", "type": "string" }, "width": { "default": null, "title": "Width", "type": "integer" } }, "required": [ "docs_service", "drive_service", "user_google_email", "document_id", "image_source", "index" ], "type": "object" }

Other Tools from Google Workspace MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZatesloFL/google_workspace_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server