Delete a tab
delete_tabDeletes a Google Doc tab by its ID, verifying the expected title to prevent accidental 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 |