delete_slide
Delete a slide and remove all associated references: notes, charts, embeddings, comments, custom-show references, and section memberships. Neuters jump links and handles backups and locked PowerPoint files.
Instructions
Delete a slide and garbage-collect everything only it used: notes, charts, embeddings, comments, custom-show references, section membership; jump links to it are neutered. slide: 0-based index or {"slide_id": N}. Prefer set_slide_hidden (design pack) when it might come back. Saves atomically with two-slot backup; backup=False skips rotation. live='auto' edits the open PowerPoint copy when the file is locked by it (UNSAVED until live_save, com pack); 'force' targets the open session; 'off' refuses locked files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | auto | |
| slide | Yes | ||
| backup | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||