Upload screenshots
upload_screenshotsUpload screenshots to an App Store Connect version's screenshot set, replacing or appending images in display order. Preview changes with a dry run, then apply after confirmation.
Instructions
Uploads images to one screenshot set of the version being prepared. mode "replace" makes the set exactly these files in this order (the old ones are deleted only after the new ones are processed); mode "append" adds them at the end. Files already in the set (same MD5) aren't uploaded again, so re-running is safe.
Destructive: dry_run defaults to true and returns the plan. Show it to the user, then call again with dry_run: false. Needs ASC_WRITE=1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App ID, bundle ID or exact app name. Defaults to ASC_APP_ID, or to the only app the key can see. | |
| mode | No | replace | |
| files | No | Absolute image paths, in display order. | |
| folder | No | Folder of .png/.jpg files, used in natural filename order (1, 2, …, 10). Use instead of files. | |
| locale | No | Localization, e.g. en-US. Defaults to the app's primary locale. | |
| dry_run | No | Defaults to true: return the plan without changing anything. Call again with dry_run: false to apply it. | |
| version | No | App Store version string (e.g. "1.2"), "editable" (the version being prepared; the default) or "live". | |
| platform | No | Platform. Defaults to IOS. | |
| display_type | Yes | Screenshot display type, e.g. APP_IPHONE_67 (6.9" iPhone, 1320×2868), APP_IPHONE_65, APP_IPAD_PRO_3GEN_129 (13" iPad, 2064×2752), APP_DESKTOP, APP_APPLE_TV, APP_APPLE_VISION_PRO, APP_WATCH_ULTRA. | |
| wait_minutes | No | Minutes to wait for Apple to process uploaded images (usually under a minute). If time runs out, re-run the same call to continue. |