Google Super

GOOGLESUPER_INSERT_PAGE_BREAK

Tool to insert a page break into a Google Document. Use when you need to start new content on a fresh page, such as at the end of a chapter or section.

Remote googlesuper

Other tools also called GOOGLESUPER_INSERT_PAGE_BREAK? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string",
      "title": "Document Id",
      "examples": [
        "1a2B3c4D5e6F7g8H9i0J"
      ],
      "description": "The ID of the document to update."
    },
    "insertPageBreak": {
      "type": "object",
      "title": "Insert Page Break",
      "properties": {
        "location": {
          "type": "object",
          "title": "Location",
          "default": null,
          "nullable": true,
          "required": [
            "index"
          ],
          "properties": {
            "index": {
              "type": "integer",
              "title": "Index",
              "examples": [
                100
              ],
              "description": "The zero-based index, in UTF-16 code units. The page break is inserted before this index."
            },
            "segmentId": {
              "type": "string",
              "title": "Segment Id",
              "default": null,
              "examples": [
                ""
              ],
              "nullable": true,
              "description": "The ID of the segment where the page break is to be inserted. For page breaks, this should typically be null or empty, indicating the main document body, as page breaks are not allowed in headers, footers, or footnotes."
            }
          },
          "description": "Specifies the location to insert the page break using a zero-based index. Use this or end_of_segment_location.",
          "additionalProperties": false
        },
        "endOfSegmentLocation": {
          "type": "object",
          "title": "EndOfSegmentLocation",
          "default": null,
          "nullable": true,
          "properties": {
            "segmentId": {
              "type": "string",
              "title": "Segment Id",
              "default": null,
              "examples": [
                ""
              ],
              "nullable": true,
              "description": "The ID of the segment where the page break is to be inserted. For page breaks, this must be null or an empty string, indicating the end of the main document body."
            }
          },
          "description": "Specifies that the page break should be inserted at the end of a segment (document body). Use this or location.",
          "additionalProperties": false
        }
      },
      "description": "The details for the insertPageBreak request.",
      "additionalProperties": false
    }
  }
}