upload_to_google_play
Upload a Codemagic AAB build artifact to a Google Play track. Specify the track and optional release notes.
Instructions
Download an AAB artifact from Codemagic and publish it to a Google Play track. Use the AAB artifact URL returned by wait_for_build. Start with the internal track — it is safest for first uploads and can be promoted to alpha/beta/production manually in the Play Console.
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": {
"aab_url": "<aab_url>",
"track": "<track>"
},
"name": "upload_to_google_play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aab_url | Yes | The AAB download URL from a Codemagic build artifact | |
| track | Yes | The Google Play track to publish to | |
| release_name | No | Name of the release. If omitted, generated from the AAB version name. | |
| release_notes | No | What's new in this release, as plain text | |
| release_notes_language | No | BCP-47 language tag for the release notes (default: en-US) | |
| draft | No | Upload as a draft release instead of publishing immediately |