Edit Carousel Deck Slides
antix_edit_deck_slidesApply a bounded batch of edits to a deck. Copy: set_copy (headline/body/kicker/cta per slide, plus emphasis — a phrase inside the headline the layout features). Design, all by slot and deck-wide unless slideId is given: set_fonts (heading/body/accent families from antix_list_carousel_design_options), set_palette (background/ink/accent/onAccent/paper/onPaper), apply_template (another built-in layout or look, copy kept), set_layout (a different composition for one slide), set_text_style (scale/align/case/weight of one role), set_background / clear_background (a drawn, free background), set_colors. Structure: reorder, add_slide, delete_slide, set_aspect (1:1|4:5|9:16), set_background_url (allowlisted AIGE/Storage hosts only). Text re-fits itself after every change. Every result carries design, the deck's current template, look, palette and typefaces. REQUIRES expectedVersion from your last antix_get_deck read — a stale version fails with DECK_CONFLICT before touching anything, so you can never blind-write over the user's browser edits. Deleting a slide with a PAID background — or drawing a background over one — aborts the WHOLE batch unless confirmDropPaid:true — ask the user explicitly before setting it. Only edited slides re-render. FREE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| deckId | Yes | ||
| locale | No | ||
| projectId | No | AIGE project whose Canvas should receive the updated deck. | |
| accountHandle | No | ||
| confirmDropPaid | No | Must be true to delete a slide, or draw a background over one, whose background was paid for — ask the user first. | |
| expectedVersion | Yes | REQUIRED: the deck version you last read. A stale value fails with DECK_CONFLICT before any work. |