preview_slides
Convert content into editable slide plans for review before rendering, enabling structured previews and visual enhancements.
Instructions
Convert content into a structured slide plan WITHOUT rendering. Returns editable JSON.
When to call: When the user wants to review or edit slide content before rendering. Also use as the first step in the enhanced workflow (preview → enhance with Gemini → render).
Workflow: Enhanced visuals
Call preview_slides with the content
Review the returned slide plan. Each slide may have an aiSuggestion field
For slides with aiSuggestions, use Gemini MCP tools:
generate_svg for diagrams, charts, flowcharts
generate_image for hero images, illustrations
gemini_chat to rewrite slide copy for punchier hooks
Inject generated SVGs into the slide's customSvg field
Call render_slides with the enhanced plan
Returns: SlidePlan JSON with slides array, sourceTitle, summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Article text, markdown, or transcript to convert into slides | |
| slideCount | No | Target number of slides (4-12) | |
| sourceUrl | No | Original URL of the content (for CTA slide) |