Pull a release of my app
console_set_version_noticePut a warning on one stored build of your app — vulnerable or withdrawn, a message of up to 300 characters, and optionally the version code to use instead — or lift it (lift: true). With blockDownload: true downloads of that build are refused. Applies immediately and is reversible; it does not delete anything. Take apkId from console_security_report. Needs the uploader role or above.
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>",
"apkId": "<apkId>"
},
"name": "console_set_version_notice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Why the build is pulled. | |
| lift | No | True removes the notice; the fields below are ignored. | |
| apkId | Yes | The stored build's apkId, from console_security_report. | |
| message | No | Shown to visitors, up to 300 characters. | |
| packageName | Yes | Package id of an app on your Developers Console team, e.g. com.example.app. | |
| blockDownload | No | Also refuse downloads of this build. | |
| recommendedVersionCode | No | Optional: the version code visitors should take instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apkId | Yes | The build. | |
| lifted | No | ||
| notice | No | ||
| packageName | Yes | The app. |