Google Docs Batch Update icon

Google Docs Batch Update

Build and send Google Docs batch update requests

Create Tabs Request → Update Document Tab Properties

AI-generated

Summary

Updates the properties of an existing Google Docs tab using a batch request.

Inputs

  • tabProperties (required) — A collection defining the tab to update. Includes Tab ID (required), Title, Index, and Additional Fields (Parent Tab ID, Icon Emoji).
  • fields (required) — A multi-select list specifying which properties to update (e.g., tabId, title, index, additionalFields).

Output shape

No body — success/failure only

Performs an asynchronous batch update. Returns success if the request is accepted by Google Docs API; errors are thrown if the request is invalid or the Tab ID does not exist.

Examples

Example 1: Change the title of an existing tab

Tab Properties: Tab ID = 'abc123', Title = 'New Title'; Fields = ['title']

Example 2: Reorder tabs by updating their index

Tab Properties: Tab ID = 'xyz789', Index = 5; Fields = ['index']

Links

Discussion