apple_create_version_localization
Add localized content for App Store versions by specifying locale, description, keywords, and update notes to reach global audiences.
Instructions
Create a new localization for a version
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versionId | Yes | App Store Version ID | |
| locale | Yes | Locale code (e.g. ko, en-US, ja) | |
| description | No | ||
| keywords | No | Comma-separated keywords | |
| whatsNew | No | ||
| promotionalText | No | ||
| marketingUrl | No | ||
| supportUrl | No |
Implementation Reference
- src/apple/tools.ts:202-225 (handler)Handler function for creating an App Store version localization.
handler: async (client, args) => { const attributes: any = { locale: args.locale }; if (args.description) attributes.description = args.description; if (args.keywords) attributes.keywords = args.keywords; if (args.whatsNew) attributes.whatsNew = args.whatsNew; if (args.promotionalText) attributes.promotionalText = args.promotionalText; if (args.marketingUrl) attributes.marketingUrl = args.marketingUrl; if (args.supportUrl) attributes.supportUrl = args.supportUrl; return client.request('/appStoreVersionLocalizations', { method: 'POST', body: { data: { type: 'appStoreVersionLocalizations', attributes, relationships: { appStoreVersion: { data: { type: 'appStoreVersions', id: args.versionId }, }, }, }, }, }); }, - src/apple/tools.ts:192-201 (schema)Input schema for the tool, defining versionId, locale, and optional localization fields.
schema: z.object({ versionId: z.string().describe('App Store Version ID'), locale: z.string().describe('Locale code (e.g. ko, en-US, ja)'), description: z.string().optional(), keywords: z.string().optional().describe('Comma-separated keywords'), whatsNew: z.string().optional(), promotionalText: z.string().optional(), marketingUrl: z.string().optional(), supportUrl: z.string().optional(), }), - src/apple/tools.ts:189-191 (registration)Tool definition and name registration.
const createVersionLocalization: ToolDef = { name: 'apple_create_version_localization', description: 'Create a new localization for a version',