upload_bundle
Uploads an Android App Bundle (.aab) to Google Play, returns its versionCode for release creation, and supports dry-run validation or batching into an open edit.
Instructions
Upload an Android App Bundle (.aab). Returns its versionCode — pass that to create_release to put it on a track. By default the upload is committed on its own (the bundle then sits in the app's library, unreleased); pass an editId to upload and release in the same edit. Set dryRun:true to have Google validate the bundle and discard it.
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>",
"filePath": "<filePath>"
},
"name": "upload_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only: open a temporary edit, apply, validate, then delete it. Nothing is published (default false). Ignored when editId is set. | |
| editId | No | Optional: an open edit from insert_edit. The change is applied inside that edit and NOT committed — batch several changes, then call commit_edit. | |
| filePath | Yes | Absolute path to the .aab | |
| packageName | Yes | Application id (package name), e.g. com.example.app | |
| deviceTierConfigId | No | Optional device tier config id (or 'LATEST') | |
| changesNotSentForReview | No | Commit option: keep the changes out of review until sent from Play Console. Google requires this for some apps and rejects it for others — set it only if a commit error asks for it. | |
| ackBundleInstallationWarning | No | Acknowledge the warning for bundles whose install size may be too large |