render_slides
Convert slide plans into formatted visual assets for LinkedIn, Instagram, or Threads by generating SVG, PDF, or PNG files with custom graphics and brand templates.
Instructions
Render a slide plan into SVG + PDF (LinkedIn) or PNG (Instagram/Threads).
When to call: After preview_slides when you've reviewed or enhanced the slide plan. Also accepts manually crafted slide plans.
Supports Gemini-generated visuals: Any slide in the plan can include:
customSvg: Raw SVG content (from generate_svg) embedded directly into the slide
customImageUrl: Local file path to an image (from generate_image)
Tip: Run list_templates first to check for user brand kits.
Returns: Output paths (SVG, PDF/PNG), template used, platform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slidePlan | Yes | Structured slide plan (from preview_slides or manually crafted) | |
| templateName | No | Template name (run list_templates to see options) | professional |
| brandName | No | Brand name shown in slide footers | |
| outputDir | No | Output directory (default: ~/Documents/carousels/) | |
| platform | No | Target platform: linkedin (1080x1350 PDF), instagram (1080x1080 PNGs), threads (1080x1350 PNGs) |