[Write] Ensure an App Store version exists
asc_version_ensureEnsure an App Store version for your app, returning the existing version or creating it if missing. Supports dry-run preview.
Instructions
Write. Returns the App Store version if it already exists, or creates it if not — saving the agent from a manual get/exists-check/create/conflict sequence. Returns { version, created }. Supports dryRun.
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": {
"appId": "<appId>",
"versionString": "<versionString>"
},
"name": "asc_version_ensure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Bundle id, app name, or App Store Connect app id | |
| dryRun | No | Preview only, do not create | |
| platform | No | IOS | |
| copyright | No | ||
| releaseType | No | ||
| versionString | Yes | Version number, e.g. "1.1" | |
| earliestReleaseDate | No | ISO 8601 date-time, only meaningful with releaseType SCHEDULED |