Set country availability
set_app_availabilitySet an app's App Store country/region availability by listing territories, enabling all territories with exclusions, or passing an empty list to remove it from sale worldwide.
Instructions
Set the app's country/region availability. Requires an explicit choice: a territories list, or all_territories:true (optionally with except_territories), or [] to take the app off sale worldwide. Pro feature.
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": {
"app_id": "<app_id>"
},
"name": "set_app_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | App Store Connect app ID | |
| confirm | No | Needed to turn territories off on an app that already has availability set: it stops sales there at once. | |
| territories | No | Territory ids to enable, e.g. ["USA","GBR"]; everywhere else is turned off. Pass [] to take the app off sale worldwide. Omit only if you pass all_territories. | |
| all_territories | No | Put the app on sale in every App Store territory. Required when territories is omitted, so an app_id alone can never widen where an app is sold. | |
| except_territories | No | With all_territories:true, leave these out, e.g. ["CHN"] (mainland China needs an ICP filing, an AIGC declaration and a security assessment). | |
| available_in_new_territories | No | Auto-include future new territories (default true) |