duplicate_slide
Copies a slide with all content, formatting, and notes intact, letting you reuse designed template slides and edit the copy. Supports multiple copies and insertion at any position.
Instructions
Copy an existing slide, keeping all of its content and formatting.
This is the way to reuse a corporate template's designed slides: duplicate the slide whose layout suits your next section, then edit the copy's text with manage_text / populate_placeholder. add_slide builds a bare slide from a layout and gets you none of the template's artwork, so prefer duplicating when the template already contains a slide that looks right.
slide_index: 0-based index of the slide to copy. insert_after: 0-based index the copy is placed after; omit to append the copy (or copies) to the end of the deck. count: how many copies to make, for a section that repeats — the copies land consecutively.
Pictures are shared with the original (same bytes, no size cost); charts, SmartArt and embedded objects are cloned, so editing the copy's chart does not change the original's. Speaker notes are copied. Returns "new_slide_indexes" — read them before editing, since inserting in the middle shifts every later slide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| slide_index | Yes | ||
| insert_after | No | ||
| presentation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |