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
Name | Required | Description | Default |
---|---|---|---|
columns | No | ||
document_id | Yes | ||
element_type | Yes | ||
index | Yes | ||
list_type | No | ||
rows | No | ||
text | No | ||
user_google_email | Yes |