Set the age rating
set_age_ratingSet an app's age-rating declarations in App Store Connect so Apple can compute the correct 4+/9+/13+/16+/18+ rating.
Instructions
Set the app's age-rating content declarations (Apple computes 4+/9+/13+/16+/18+; the reply lists every value written, including defaults for keys you did not pass). Pass a declarations map, e.g. { medicalOrTreatmentInformation: "INFREQUENT_OR_MILD" }. 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>",
"declarations": "<declarations>"
},
"name": "set_age_rating"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | App Store Connect app ID | |
| declarations | Yes | Map of declaration key to value. Frequency keys take NONE/INFREQUENT_OR_MILD/FREQUENT_OR_INTENSE (also INFREQUENT/FREQUENT for the few keys Apple uses those on); capability keys take true/false. |