Keynote: add image
keynote_add_imagePlace an image or logo onto a Keynote slide at a chosen position and width, with dry-run preview. Slide text stays untouched; use chart or table tools for data.
Instructions
Place an image file (png, jpg, heic, pdf…) on a slide; optional x/y position and width in points. All text verified untouched. dry_run=true previews the change on a copy without touching the file. Use to place a picture or logo on a slide. For data, use keynote_add_chart or keynote_add_table rather than a picture of a chart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Left edge in points (give with y); omit to let Keynote place it. | |
| y | No | Top edge in points from the slide's top-left corner (give with x). | |
| path | Yes | Path to the .key deck (absolute, or starting with ~). | |
| image | Yes | Image file to place (png, jpg, heic, pdf…). | |
| slide | Yes | Slide number, 1-based (keynote_list_slides lists them). | |
| width | No | Image width in points; height keeps the aspect ratio. | |
| 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 | |||