Keynote: delete slide
keynote_delete_slideDelete a specific 1-based slide from a Keynote deck. Preview with dry_run, recover via backup; the last slide cannot be deleted.
Instructions
Delete slide number slide (1-based). Recoverable with iwork_restore_backup. dry_run=true previews the change on a copy without touching the file. Use to remove a slide for good (the last slide can't be deleted). To keep it but hide it in the slideshow use keynote_skip_slide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .key deck (absolute, or starting with ~). | |
| slide | Yes | Slide number, 1-based (keynote_list_slides lists them). | |
| dry_run | No | true = make the change on a throwaway copy, run every check, and return what would change; the file itself is not touched. Use it before broad or risky edits and show the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||