create_slides
Create HTML slide presentations with 11 themes and 11 slide types. Choose between full HTML or token-saving JSON mode. Supports custom orientation and branding.
Instructions
Create slides. IMPORTANT: Use mode=default unless the user explicitly chose token_saver. mode=default = AI writes full HTML (best quality). mode=token_saver = AI sends JSON, server uses basic templates. REQUIRES discover_themes first AND user must have confirmed the data outline. After this tool saves the HTML, you MUST show the htmlPath as a code preview artifact. Then STOP and ask the user to confirm. DO NOT call render_slides until the user explicitly confirms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | default = AI writes full HTML (more tokens, full control). token_saver = AI sends JSON, server assembles HTML (fewer tokens). | |
| theme | Yes | Theme from discover_themes | |
| orientation | No | Preset or custom. Default: portrait | |
| width | No | Custom width px (only with orientation=custom) | |
| height | No | Custom height px (only with orientation=custom) | |
| html | No | Full HTML document (mode=default only) | |
| slides | No | Structured slide data (mode=token_saver only) | |
| brandName | No | Brand name for branded themes |