Google Docs

GOOGLEDOCS_INSERT_TABLE_ACTION

Tool to insert a table into a Google Document. Use when you need to add a new table at a specific location or at the end of a segment (like document body, header, or footer) in a document.

Remote googledocs

Other tools also called GOOGLEDOCS_INSERT_TABLE_ACTION? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "rows": {
      "type": "integer",
      "title": "Rows",
      "minimum": 1,
      "description": "The number of rows in the table."
    },
    "index": {
      "type": "integer",
      "title": "Index",
      "default": null,
      "nullable": true,
      "description": "The zero-based index where the table will be inserted. If provided, 'location' will be used. If omitted and 'insertAtEndOfSegment' is false or omitted, 'endOfSegmentLocation' will be used for the document body."
    },
    "tabId": {
      "type": "string",
      "title": "Tab Id",
      "default": null,
      "nullable": true,
      "description": "The tab that the location is in. When omitted, the request is applied to the first tab."
    },
    "columns": {
      "type": "integer",
      "title": "Columns",
      "minimum": 1,
      "description": "The number of columns in the table."
    },
    "segmentId": {
      "type": "string",
      "title": "Segment Id",
      "default": null,
      "nullable": true,
      "description": "The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body."
    },
    "documentId": {
      "type": "string",
      "title": "Document Id",
      "examples": [
        "195j9eDD34F5f92m1_r4T3Y0N4WX_gXYs-y6uDxBYFpc"
      ],
      "description": "The ID of the document to update."
    },
    "insertAtEndOfSegment": {
      "type": "boolean",
      "title": "Insert At End Of Segment",
      "default": null,
      "nullable": true,
      "description": "If true, inserts the table at the end of the segment (document body, header, or footer specified by segment_id). If false or omitted, and 'index' is not provided, it defaults to inserting at the end of the document body. If 'index' is provided, this field is ignored."
    }
  }
}