Google Docs

GOOGLEDOCS_UPDATE_TABLE_ROW_STYLE

Tool to update the style of a table row in a Google Document. Use when you need to modify the appearance of specific rows within a table, such as setting minimum row height or marking rows as headers.

Remote googledocs

Other tools also called GOOGLEDOCS_UPDATE_TABLE_ROW_STYLE? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string",
      "title": "Document Id",
      "description": "The ID of the document to update."
    },
    "updateTableRowStyle": {
      "type": "object",
      "title": "Update Table Row Style",
      "required": [
        "tableStartLocation",
        "tableRowStyle",
        "fields"
      ],
      "properties": {
        "fields": {
          "type": "string",
          "title": "Fields",
          "description": "The fields that should be updated. At least one field must be specified. The root tableRowStyle is implied and should not be specified. A single \"*\" can be used as short-hand for listing every field. For example to update the minimum row height, set fields to \"minRowHeight\"."
        },
        "rowIndices": {
          "type": "array",
          "items": {
            "type": "integer",
            "properties": {}
          },
          "title": "Row Indices",
          "default": null,
          "nullable": true,
          "description": "The list of zero-based row indices whose style should be updated. If no indices are specified, all rows will be updated."
        },
        "tableRowStyle": {
          "type": "object",
          "title": "Table Row Style",
          "properties": {
            "tableHeader": {
              "type": "boolean",
              "title": "Table Header",
              "default": null,
              "nullable": true,
              "description": "Whether the row is a table header."
            },
            "minRowHeight": {
              "type": "object",
              "title": "Dimension",
              "default": null,
              "nullable": true,
              "properties": {
                "unit": {
                  "enum": [
                    "PT",
                    "UNIT_UNSPECIFIED"
                  ],
                  "type": "string",
                  "title": "Unit",
                  "default": null,
                  "nullable": true,
                  "description": "The units for magnitude."
                },
                "magnitude": {
                  "type": "number",
                  "title": "Magnitude",
                  "default": null,
                  "nullable": true,
                  "description": "The magnitude."
                }
              },
              "description": "The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells.",
              "additionalProperties": false
            },
            "preventOverflow": {
              "type": "boolean",
              "title": "Prevent Overflow",
              "default": null,
              "nullable": true,
              "description": "Whether the row cannot overflow across page or column boundaries."
            }
          },
          "description": "The styles to be set on the rows.",
          "additionalProperties": false
        },
        "tableStartLocation": {
          "type": "object",
          "title": "Table Start Location",
          "properties": {
            "index": {
              "type": "integer",
              "title": "Index",
              "default": null,
              "nullable": true,
              "description": "The zero-based index, in UTF-16 code units."
            },
            "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."
            },
            "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."
            }
          },
          "description": "The location where the table starts in the document.",
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
  }
}