# appstore_update_app_info

> Set or read an app's categories, content rights and age rating answers, which App Review needs besides the listing.

Source: https://air.build/docs/mcp-tools/appstore_update_app_info/

Sets the app-level answers App Review needs besides the listing: the primary and secondary category, whether the app shows third-party content, and the age rating questionnaire. Only the inputs sent change, and the result is the current answers: call it with none of them to read them.

Categories and age rating belong to the app information being edited with a new version, or to the current one when no version is being prepared.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| No | No | Yes |

## Inputs

| Input | Type | Required | Default | What it does |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | yes | — | The Team, from [list_teams](https://air.build/docs/mcp-tools/list_teams/). |
| `projectId` | string (UUID) | this or `appId` | — | The Project whose app this is, from [list_projects](https://air.build/docs/mcp-tools/list_projects/): the usual way to name an app. The app is the one on App Store Connect with the bundle id the Project builds. When both are sent, `projectId` is used. |
| `appId` | string | this or `projectId` | — | An App Store Connect app id from [appstore_list_apps](https://air.build/docs/mcp-tools/appstore_list_apps/), for an app no Project builds. |
| `appleTeamId` | string (UUID) | no | every connected Apple team | One of the Team's Apple teams, from [appstore_list_apple_teams](https://air.build/docs/mcp-tools/appstore_list_apple_teams/). With `appId`, only this Apple team is searched for the app. With `projectId` it is not needed: the Project's app decides. |
| `primaryCategory` | string, one of the categories below | no | — | The primary category. |
| `secondaryCategory` | string, one of the categories below, or null | no | — | The secondary category; null removes it. |
| `contentRights` | string: `noThirdPartyContent`, `usesThirdPartyContent` | no | — | Whether the app shows, accesses or contains third-party content (and has the rights to it). |
| `ageRating` | object of strings, booleans or null | no | — | Age rating answers by Apple's attribute names, e.g. `violenceCartoonOrFantasy`, `gambling`, `unrestrictedWebAccess`. Frequency questions take `NONE`, `INFREQUENT_OR_MILD` or `FREQUENT_OR_INTENSE`; the others take true or false. Read the current answers first: unanswered ones are null. |

Categories: `BOOKS`, `BUSINESS`, `DEVELOPER_TOOLS`, `EDUCATION`, `ENTERTAINMENT`, `FINANCE`, `FOOD_AND_DRINK`, `GAMES`, `GRAPHICS_AND_DESIGN`, `HEALTH_AND_FITNESS`, `LIFESTYLE`, `MAGAZINES_AND_NEWSPAPERS`, `MEDICAL`, `MUSIC`, `NAVIGATION`, `NEWS`, `PHOTO_AND_VIDEO`, `PRODUCTIVITY`, `REFERENCE`, `SHOPPING`, `SOCIAL_NETWORKING`, `SPORTS`, `STICKERS`, `TRAVEL`, `UTILITIES`, `WEATHER`.

The checks every tool makes on its inputs are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

## Result

A JSON object, as text and as `structuredContent`.

| Field | What |
| --- | --- |
| `primaryCategory` | The primary category, or null |
| `secondaryCategory` | The secondary category, or null |
| `contentRights` | `DOES_NOT_USE_THIRD_PARTY_CONTENT`, `USES_THIRD_PARTY_CONTENT`, or null when not declared |
| `ageRating` | Every age rating answer as Apple holds it, by attribute name (null for an unanswered one), or null |

```json
{
  "primaryCategory": "PRODUCTIVITY",
  "secondaryCategory": null,
  "contentRights": "DOES_NOT_USE_THIRD_PARTY_CONTENT",
  "ageRating": {
    "violenceCartoonOrFantasy": "NONE",
    "gambling": false,
    "unrestrictedWebAccess": false
  }
}
```

## Errors

Each comes back as a tool error (`isError: true`). _Italic_ words stand for the values in the sentence. The errors every tool can return are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

| Message | When | What to do |
| --- | --- | --- |
| App Store Connect has no app information for this app. | Apple returned no app information | Check the app in App Store Connect |
| App Store Connect has no age rating questionnaire for this app yet. | `ageRating` was sent and Apple has no questionnaire for the app | Try again later, or answer it in App Store Connect |
| Pass projectId, or appId from appstore_list_apps. | Neither `projectId` nor `appId` was sent | Send one of them |
| This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team's Agent to build it, or pass appId. | The Project has never been built for iOS | Ask the Project's Agent for an iOS build ([send_message](https://air.build/docs/mcp-tools/send_message/)), or name the app by `appId` |
| This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project's), or pass appId. | No app on the Team's connected Apple teams has the Project's bundle id, or no Apple team is connected | Create the app with [appstore_create_app](https://air.build/docs/mcp-tools/appstore_create_app/), or name another app by `appId` |
| No connected Apple team of this Team has that app. See appstore_list_apps. | `appId` is not an app of any connected Apple team (or of `appleTeamId`) | Take the id from [appstore_list_apps](https://air.build/docs/mcp-tools/appstore_list_apps/) |
| App Store Connect: _Apple's sentence_ | Apple refused the request. Up to five of Apple's own sentences follow, each with the field it is about in brackets when Apple names one. An Apple agreement waiting in App Store Connect is refused this way too | Act on Apple's words. Agreements are accepted by the Apple Developer account's Account Holder in App Store Connect (Business › Agreements) |
| App Store Connect answered _status_. Try again in a moment. | Apple refused without saying why | Try again in a moment |

## Example

```json
{
  "name": "appstore_update_app_info",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000",
    "primaryCategory": "PRODUCTIVITY",
    "contentRights": "noThirdPartyContent",
    "ageRating": {
      "violenceCartoonOrFantasy": "NONE",
      "gambling": false
    }
  }
}
```
