add_icon_to_slide
Add a previously rendered SVG icon to a PowerPoint slide by specifying its ID, position, and size in inches. Use this to place icons repeatedly while storing the image once, preserving template branding.
Instructions
Place an icon you rendered with render_svg_icon onto a slide.
The icon lives on this server, so this takes the icon_id that render_svg_icon returned — not a DIAL file URL. Place the same icon_id as many times as the icon repeats; the deck stores the image once however often it appears.
presentation_id: the deck handle. slide_index: 0-based, like the other content tools (visual QA slide numbers are 1-based; slide_index 0 is slide 1). left, top: inches, the top-left corner of the icon's box. size: the box's side in inches — icons are square. About 0.7 for an icon inside a card, 1.0-1.2 for one leading a section. A non-square drawing is centred in that box rather than stretched to fill it.
Returns the shape index and the geometry actually applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| size | No | ||
| icon_id | Yes | ||
| slide_index | Yes | ||
| presentation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |