batch_update
Apply a batch of Slides API requests atomically in one API call. Combine multiple edits like createSlide, insertText, update styles to reduce quota usage.
Instructions
Apply raw Slides batchUpdate requests atomically. (1 API call.)
This is the low-level power tool: requests is a list of Slides API request
objects (e.g. createSlide, insertText, createShape,
updateTextStyle, updatePageElementTransform, duplicateObject ...).
See https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request
Many edits batched into one call still cost a single write quota unit.
Note: updateShapeProperties/updateTextStyle/updatePageProperties
require a fields mask; a missing mask is reported as a warning.
Args: presentation_id: The presentation ID. requests: A list of single-key Slides request objects.
Returns:
{replies, warnings} where replies is the API response array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| requests | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||