Tool: generate_slides (Recommended)
End-to-end slide generation from a topic or document. This is the recommended tool for most use cases.
When you call this tool, Poesius automatically performs three steps:
- Generates the presentation narrative - Creates a McKinsey-style story, summarizing key findings and revealing insights from your content
- Retrieves layout details - Gets template specifications including colors, layout zones, and design elements (defined visually in the web app at
https://app.poesius.com) - Creates slides - Combines the narrative with template specs to produce professional PPTX files
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
topic | string | No | Topic if generating from scratch |
content | string | No | Existing markdown content to convert |
instructions | string | Yes | Generation instructions |
template_id | string | No | Template UUID (required if no default) |
num_slides | integer | No | Target number of slides |
conversation_id | string | No | Existing conversation UUID |
presentation_id | string | No | Existing presentation UUID to add slides to |
document_base64 | string | No | Base64-encoded document |
Example Request
From Topic
From Document
Response
Response Fields
slides: Array of slide objects with content and URLscontent: Generated markdown contentpresentation_id: ID of the created presentationconversation_id: ID of the conversationslide_ids: Array of slide IDstotal_slides: Total number of slides createdreflection: AI reflection on what was generatedpresentation_url: Web URL to view the presentationdownload_url: Direct download link for PPTX
Template Required Response
Iftemplate_id is not provided and there’s no default template, you’ll receive:
list_templates first, then provide a template_id in your request.
Python Example
Best Practices
- Use Templates: Always specify a
template_idfor consistent branding - Clear Instructions: Be specific about what you want in the presentation
- Slide Count: Specify a target number based on your needs
- Document Encoding: Ensure documents are properly base64-encoded
Two-Step Process
Learn about the two-step generation process for more control
List Templates
Discover available templates
Examples
See more MCP examples

