Edit deck
apply_opsEdit a deck atomically by running ordered operations to add, update, remove, or move slides, set design, motion, title, brief, or brand kit; all changes save only if the revision matches.
Instructions
The only way to change a deck. Applies operations in order (add, update, remove or move slides, set design, motion, title, brief, apply a brand kit). All operations succeed or none is saved. Fails when expected_revision is not the current revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| deck_id | Yes | Deck id from create_deck or list_decks | |
| summary | Yes | What changed, for the history | |
| previews | No | Local server: return PNG previews of changed slides and slides with errors (up to 4) | |
| expected_revision | Yes | Revision you read last |