update_app_store_version_localization
Modify app store listing details like description, keywords, or what's new text for specific language versions to keep store content current.
Instructions
Update a specific field in an app store version localization
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localizationId | Yes | The ID of the app store version localization to update | |
| field | Yes | The field to update | |
| value | Yes | The new value for the field |
Implementation Reference
- src/handlers/localizations.ts:83-116 (handler)The main handler function that performs the API call to update a specific field (description, keywords, etc.) in an App Store version localization using the AppStoreConnectClient. Includes input validation and field validation.async updateAppStoreVersionLocalization(args: { localizationId: string; field: AppStoreVersionLocalizationField; value: string; }): Promise<AppStoreVersionLocalizationResponse> { const { localizationId, field, value } = args; validateRequired(args, ['localizationId', 'field', 'value']); // Validate field const validFields: AppStoreVersionLocalizationField[] = [ 'description', 'keywords', 'marketingUrl', 'promotionalText', 'supportUrl', 'whatsNew' ]; if (!validFields.includes(field)) { throw new Error(`Invalid field: ${field}. Must be one of: ${validFields.join(', ')}`); } const requestData: AppStoreVersionLocalizationUpdateRequest = { data: { type: 'appStoreVersionLocalizations', id: localizationId, attributes: { [field]: value } } }; return this.client.patch<AppStoreVersionLocalizationResponse>( `/appStoreVersionLocalizations/${localizationId}`, requestData ); }
- src/index.ts:441-463 (schema)Defines the tool schema including name, description, and inputSchema with properties for localizationId, field (enum), and value, as returned in listTools.{ name: "update_app_store_version_localization", description: "Update a specific field in an app store version localization", inputSchema: { type: "object", properties: { localizationId: { type: "string", description: "The ID of the app store version localization to update" }, field: { type: "string", enum: ["description", "keywords", "marketingUrl", "promotionalText", "supportUrl", "whatsNew"], description: "The field to update" }, value: { type: "string", description: "The new value for the field" } }, required: ["localizationId", "field", "value"] } },
- src/index.ts:1360-1361 (registration)Registers the tool by mapping the tool name to the call of the handler method in the MCP server's CallToolRequest handler switch statement.case "update_app_store_version_localization": return { toolResult: await this.localizationHandlers.updateAppStoreVersionLocalization(args as any) };