Insert a page or section break
insert_breakInsert page or section breaks into a Google Doc at a specific index or the end of the body. Choose a page break, next-page section break, or continuous section break to control layout.
Instructions
Inserts a break at an index (or at the end of the body when index is omitted). kind=page starts a new page; kind=section_next_page starts a new section on a new page; kind=section_continuous starts a new section on the same page. Sections carry their own margins/columns — style them via raw_request updateSectionStyle. Breaks cannot be inserted into headers, footers, footnotes or table cells. A break occupies one index position; remove one by deleting its range with delete_range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The break type. | |
| index | No | Insertion index (from read_document_text). Omit to append at the end of the body. | |
| tab_id | No | Tab to target (from list_tabs). Omit for the first/only tab. | |
| segment_id | No | Header/footer/footnote segment id (from get_document). Omit for the document body. | |
| document_id | Yes | The document id — the long id from the document URL (docs.google.com/document/d/<documentId>/edit) or from create_document output. |