add_image
Places an image onto a specific slide, adjusting its position, size, and semantic role for optimal layout.
Instructions
Adds an image file to a slide at a given position with optional width and height
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position in points | |
| y | No | Y position in points | |
| role | No | Semantic image role. When provided, applies smart sizing and positioning defaults from the grid system | |
| width | No | Width in points (omit to use intrinsic width) | |
| height | No | Height in points (omit to use intrinsic height) | |
| filePath | Yes | Absolute POSIX path to the image file | |
| slideIndex | Yes | 1-based slide index |