duplicate_slide
Duplicate any PowerPoint slide with deep-copy of notes, charts, and embedded data, regenerating IDs to avoid corruption. Specify the copy's position and use atomic save with backup for safe edits.
Instructions
Deep-copy a slide: notes, charts with their embedded workbooks, and embeddings are cloned and retargeted; layout and media stay shared by design; creation GUIDs are regenerated (duplicates corrupt). slide: 0-based index or {"slide_id": N}. position: 0-based final index for the copy, default right after the original. The design pack adds move and hide: enable_tools(packs=['design']). Saves atomically with two-slot backup; backup=False skips rotation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slide | Yes | ||
| backup | No | ||
| position | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||