add_slide
Insert a new PowerPoint slide from a selected layout at a chosen position, pre-fill placeholder text, and return named placeholder shapes for editing.
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 number (1-based) and its placeholder shapes with semantic names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layoutName": "<layoutName>"
},
"name": "add_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | 1-based insertion position (position 1 = the new slide becomes the first slide; 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. |