Skip to main content
Glama

Google Workspace MCP Server

by ZatesloFL

insert_doc_elements

Add tables, lists, or page breaks to a Google Doc by specifying the element type, position, and required parameters for structured document updates.

Instructions

Inserts structural elements like tables, lists, or page breaks into a Google Doc.

Args: user_google_email: User's Google email address document_id: ID of the document to update element_type: Type of element to insert ("table", "list", "page_break") index: Position to insert element (0-based) rows: Number of rows for table (required for table) columns: Number of columns for table (required for table) list_type: Type of list ("UNORDERED", "ORDERED") (required for list) text: Initial text content for list items

Returns: str: Confirmation message with insertion details

Input Schema

NameRequiredDescriptionDefault
columnsNo
document_idYes
element_typeYes
indexYes
list_typeNo
rowsNo
textNo
user_google_emailYes

Input Schema (JSON Schema)

{ "properties": { "columns": { "default": null, "title": "Columns", "type": "integer" }, "document_id": { "title": "Document Id", "type": "string" }, "element_type": { "title": "Element Type", "type": "string" }, "index": { "title": "Index", "type": "integer" }, "list_type": { "default": null, "title": "List Type", "type": "string" }, "rows": { "default": null, "title": "Rows", "type": "integer" }, "text": { "default": null, "title": "Text", "type": "string" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "user_google_email", "document_id", "element_type", "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