create_slide_from_template
Generate a branded PowerPoint slide from a layout template by mapping custom content and images to element roles, with selectable color schemes.
Instructions
Create a new slide using a layout template.
Args: template_id: ID of the template to use (e.g., 'title_slide', 'text_with_image') color_scheme: Color scheme to use ('modern_blue', 'corporate_gray', 'elegant_green', 'warm_red') content_mapping: Dictionary mapping element roles to custom content image_paths: Dictionary mapping image element roles to file paths layout_index: PowerPoint layout index to use as base (default: 1) presentation_id: Presentation ID (uses current if None)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_paths | No | ||
| template_id | Yes | ||
| color_scheme | No | modern_blue | |
| layout_index | No | ||
| content_mapping | No | ||
| presentation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |