Inputs
Output
Type:Dict
Returns the applied request count and Google’s per-request replies.
Fields: document_id, applied_requests, repliesDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fallback Google Docs write operation for anything that has no dedicated operation
| App | Google Docs |
| Operation ID | docs_batch_update |
| Type | Action |
| Connection | drive (optional) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
document | string | Yes | - | Enter the URL or ID of the Google Doc you want to modify |
requests | array of object or string | Yes | - | List of raw Google Docs API batchUpdate request objects (or a JSON array string), sent to Google as-is. Use this for anything the dedicated Docs operations do not cover: text and heading colors (updateTextStyle), table cell shading and borders (updateTableCellStyle), paragraph styling (updateParagraphStyle), merging cells, images, and more; see Google’s Docs API batchUpdate reference for all request types. Requests address content by start and end character indexes: call docs_read_content with include_structure=true first to get the current indexes of every paragraph and table cell, and never guess indexes. Example: [{“updateTextStyle”: {“range”: {“startIndex”: 1, “endIndex”: 20}, “textStyle”: {“foregroundColor”: {“color”: {“rgbColor”: {“red”: 0.1, “green”: 0.2, “blue”: 0.4}}}}, “fields”: “foregroundColor”}}] |
Dict
Returns the applied request count and Google’s per-request replies.
Fields: document_id, applied_requests, replies