add_slide
Insert a new PowerPoint slide from a chosen layout at any position, pre-fill its placeholder text, and get back the slide index plus semantically named shapes.
Instructions
Add a new slide from a layout at a specific position, with placeholder text pre-filled and shapes renamed to layout names. Use inspect_layouts to find available layout names and placeholder names. Returns the new slide index and its placeholder shapes with semantic names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | Zero-based target slide index. The new slide is inserted at this position (existing slides shift right). Default: append at end. | |
| layoutName | Yes | Layout name from inspect_layouts (e.g. "Title and Content", "Section Header"). Case-insensitive match. Layouts starting with "_" are rejected (technical layouts). | |
| placeholders | No | Map of layout placeholder name → text content. E.g. {"section_title": "Backup Slides", "section_subtitle": "Evidence & appendix"}. Names must match layout placeholder names from inspect_layouts. | |
| presentationId | No | Target presentation ID from list_presentations. Optional when only one presentation is connected. |