Google Docs

GOOGLEDOCS_CREATE_HEADER

Tool to create a new header in a Google Document. Use this tool when you need to add a header to a document, optionally specifying the section it applies to.

Remote googledocs

Other tools also called GOOGLEDOCS_CREATE_HEADER? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string",
      "title": "Document Id",
      "examples": [
        "12345abcdef"
      ],
      "description": "The ID of the document to create the header in."
    },
    "createHeader": {
      "type": "object",
      "title": "Create Header",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "enum": [
            "HEADER_FOOTER_TYPE_UNSPECIFIED",
            "DEFAULT"
          ],
          "type": "string",
          "title": "Type",
          "description": "The type of header to create."
        },
        "sectionBreakLocation": {
          "type": "object",
          "title": "Location",
          "default": null,
          "nullable": true,
          "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 of the SectionBreak which begins the section this header should belong to.",
          "additionalProperties": false
        }
      },
      "description": "The details of the header to create.",
      "additionalProperties": false
    }
  }
}