photoshop_recipe_split_carousel
Split a wide Photoshop document into equal vertical slices and export each as a numbered file to create a swipeable Instagram or TikTok carousel.
Instructions
Split the active wide document into N equal vertical slices and export them as sequentially numbered files for a seamless Instagram/TikTok carousel (panorama swipe effect).
Use when: the user wants a seamless/swipeable carousel, split panorama, or multi-slide export of one wide design. Typical request: "split this into a 5-slide carousel". Do NOT use when: the user wants the same content reframed per platform (use photoshop_recipe_export_social_variants) or a single crop (use photoshop_crop_document).
Returns: { ok, summary, output_paths (in slide order), details: { slides, slice_width } }.
Preconditions: active document whose width is at least slides pixels.
Side effects: writes one file per slide; source document is unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format. Default jpg. | jpg |
| slides | Yes | Number of carousel slides to split into (2-10). | |
| quality | No | JPEG quality on the Photoshop 1-12 scale (jpg only). Default 10. | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. | |
| slide_width | No | Optional final slide width in px (e.g. 1080). Requires slide_height. Each slice is center-cropped/resized to this size. Omit to keep native slice dimensions. | |
| slide_height | No | Optional final slide height in px (e.g. 1350 for Instagram portrait). Requires slide_width. |