photoshop_recipe_export_social_variants
Render social-media-ready JPEGs from the active Photoshop document, center-cropping and resizing each to the platform's specification, and save all variants to disk.
Instructions
Render one JPEG per requested social-media platform from the active document. Each variant is center-cropped/resized to the platform spec and saved to disk.
Use when: the user wants multi-platform deliverables in one shot. Do NOT use when: only one export is needed (use photoshop_recipe_prepare_for_web instead) or when platforms differ by content rather than crop (recipe does not change content, only frame).
Returns: { ok, summary, output_paths, details: { variants } }.
Preconditions: active document. Aspect ratios that differ from the source result in a center-crop (no padding). Side effects: writes one file per platform; source unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | JPEG quality on the Photoshop 1-12 scale. Default 9. | |
| platforms | No | Slugs of platforms to export. Known: instagram_post, instagram_story, instagram_reel, x_post, x_header, facebook_post, facebook_cover, linkedin_post, linkedin_banner, youtube_thumbnail, tiktok_vertical, pinterest_pin. Default: instagram_post, instagram_story, x_post. | |
| 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. |