Update Presentation
update_presentationModify an existing Google Slides presentation.
Structured operations (operations_json): add_slide, insert_text, delete_text, delete_slide, replace_text, update_text_style, update_page_bg. Google's own spellings are accepted where the operation is identical — replace_all_text and create_slide both work. An unrecognised type, or one missing a required field, is REJECTED with a message naming the operation; nothing is silently skipped.
Examples:
delete_text: {"type":"delete_text","element_id":"id"}
replace_text: {"type":"replace_text","old_text":"foo","new_text":"bar"}
update_text_style: {"type":"update_text_style","element_id":"id","bold":true,"font_size":24,"color":"#1a56db"}
update_page_bg: {"type":"update_page_bg","slide_id":"id","bg_color":"#1a1a2e"}
Raw mode (raw_requests): Pass a Google Slides API BatchUpdatePresentationRequest body directly for full API access. Request shapes are documented at https://developers.google.com/slides/api/reference/rest/v1/presentations/batchUpdate
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_requests | No | Raw Google Slides API BatchUpdatePresentationRequest JSON for full API access | |
| operations_json | No | JSON array of structured operations | |
| presentation_id | Yes | The presentation ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision_id | No | Google's revision ID after the write, if it reported one | |
| presentation_id | Yes | ||
| requests_applied | Yes | how many operations Google applied — compare against the number sent to confirm the whole batch landed |