gdocs_documents_batch_update
Batch update a Google Doc by applying ordered edits like insert text, replace all, or update style. Order insertions back-to-front so indices don't shift.
Instructions
Apply a list of edits to a document. Each request sets exactly one kind of edit — insert_text, replace_all_text, update_text_style, insert_table and so on. Edits apply in order against a document that shifts as they do: when inserting at several indices, order the requests back-to-front so earlier insertions do not move the positions later ones refer to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The edits to apply. | |
| documentId | Yes | The ID of the document to update. |