delete_doc_tab
Delete a tab and all its sub-document content from a Google Doc. This action is permanent without API undo.
Instructions
Delete a tab (and its entire sub-document) from a Google Doc.
Side effects: PERMANENTLY removes the tab and all its content — UI-undo via Edit > Undo still works if the caller has the Doc open, but there is no API undo. To just rename a tab use update_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. | |
| tab_id | Yes | Tab ID to delete. Get from list_doc_tabs or inspect_doc_structure. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |