Delete a tab
delete_tabDelete a Google Docs tab by its tab ID, cascading to child tabs. Provide the tab's title from list_tabs to verify the target before removal.
Instructions
Delete a tab by tabId (cascades to child tabs). expectTitle (the tab’s title from list_tabs) is REQUIRED — it is shown in the confirmation and verified against the live tab, so an opaque/stale tabId cannot silently delete the wrong tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | ||
| account | No | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. | |
| documentId | Yes | ||
| expectTitle | Yes | the tab’s title (from list_tabs); verified before deleting |