Build carousel PDF (server pipeline)
flypost_build_carouselRender a carousel concept into its final PDF deck (1-4 minutes the user waits through). The PDF is only needed to publish: call this when the user wants the post scheduled or published, or asks for the PDF file. Never render to check your work or to show the deck: flypost_view_visuals shows every slide in seconds and the editor_url is the user's preview. It renders only what is stored on the item and does not make slide images (flypost_generate_slide_image does). A Designed layout deck already has its PDF: this returns it, re-rendering only if it was edited (free, no AI), and refuses template_family. Return the PDF url; do not download it. Required before scheduling a carousel post.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content_bank_item_id": "<content_bank_item_id>"
},
"name": "flypost_build_carousel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_density | No | ||
| template_family | No | Omit to render the template already picked in the editor (the item's selected_style). Passing one also saves it as the item's template. Square 1080x1080: standard, editorial-light, minimal-ghost, minimal-marker, minimal-band. Tall 1080x1350: portrait-photo, photo-scrim, photo-split, photo-card, photo-poster. Wide 1920x1080: wide-cinema, wide-stage. standard/editorial-light/portrait-photo take ~22-30 words per slide. The minimal-*, photo-* and wide-* families expect one short statement per slide (~10-12 words), and photo-*/wide-* hook and body slides are built around a slide image, so generate those first with flypost_generate_slide_image. This call does not re-fit the copy to the template (the editor does that when the user switches template), so write the slides for the template you pass. | |
| carousel_image_style | No | ||
| content_bank_item_id | Yes |