Recommend slideshow page templates
recommend_slideshow_templatesRecommend curated slideshow templates per slide before creating a run, matching narrative role, density, and image needs to select templateId and avoid repeated layouts.
Instructions
Recommend curated template options for each slide in a slideshow before run creation based on narrative page contracts (role, density, image requirement). Demotes recently used layout families to prevent visual monotony and guarantees diversity across slides. Call immediately before create_slideshow_run to select templateId per slide. Alternatives: Use list_templates to browse raw catalog. Behavior: Read-only stateless layout intelligence query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number of template recommendations to return per page (2 to 5). | |
| seed | No | Optional deterministic randomization seed for layout family rotation. | |
| pages | Yes | Ordered list of page contracts describing narrative role and slot requirements. | |
| platform | Yes | Target platform: tiktok | linkedin | instagram | threads | xiaohongshu | |
| canvasPreset | No | Target aspect ratio preset (e.g. 9:16, 4:5, 1:1, 3:4). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | No | Pages requiring more templates. | |
| recommendations | No | Ranked template recommendations per page. |