insert_doc_tab
Creates a new tab in a Google Doc. Set its title and position; optionally make it a child of another tab.
Instructions
Create a new tab in a multi-tab Google Doc.
Side effects: creates a new empty tab (a sub-document) in the target Doc. Google Docs tabs (introduced Oct 2024) let one Doc hold multiple sub-documents. To list existing tabs + IDs use list_doc_tabs; to rename use update_doc_tab; to delete use delete_doc_tab. Requires the documents OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| document_id | Yes | Target document ID. | |
| title | Yes | Display title of the new tab. | |
| index | Yes | 0-based position among sibling tabs. 0 = first; use a large number to append at the end. | |
| parent_tab_id | No | Parent tab's tabId (from list_doc_tabs) to nest the new tab as a child. Omit for a top-level tab. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |