Remove a version from a track (composite)
play_remove_version_from_trackUnpublish a build from a Google Play track by removing its versionCode. Pull a bad release off production or any track without deleting the uploaded artifact.
Instructions
Removes one versionCode from a track's active releases (e.g. to pull a bad build off production) by fetching the track, filtering it out, and committing. Note this only unpublishes the version from that track — it does not delete the uploaded artifact itself (Google Play does not support deleting uploaded bundles/APKs).
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": {
"packageName": "<packageName>",
"track": "<track>",
"versionCode": "<versionCode>"
},
"name": "play_remove_version_from_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | Yes | Track name: "internal", "alpha", "beta", "production", or a custom closed-testing/open-testing track name as shown in Play Console. | |
| packageName | Yes | Play Console package name, e.g. "com.example.app" | |
| versionCode | Yes | versionCode to remove |